2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 09:57:41 +00:00

Add missing carriage return before prompt when replay is done.

This commit is contained in:
Todd C. Miller 2017-12-02 21:32:24 -07:00
parent a2eff11509
commit 01587b1b14

View File

@ -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();