diff --git a/plugins/sudoers/sudoreplay.c b/plugins/sudoers/sudoreplay.c index 28b5c0bc7..9d182c3e3 100644 --- a/plugins/sudoers/sudoreplay.c +++ b/plugins/sudoers/sudoreplay.c @@ -746,6 +746,7 @@ restore_terminal_size(void) if (terminal_was_resized) { /* We are still in raw mode, hence the carriage return. */ + putchar('\r'); printf(U_("Replay finished, press any key to restore the terminal.")); fflush(stdout); (void)getchar();