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:
parent
a2eff11509
commit
01587b1b14
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user