Add missing carriage return before prompt when replay is done.
This commit is contained in:
@@ -746,6 +746,7 @@ restore_terminal_size(void)
|
|||||||
|
|
||||||
if (terminal_was_resized) {
|
if (terminal_was_resized) {
|
||||||
/* We are still in raw mode, hence the carriage return. */
|
/* We are still in raw mode, hence the carriage return. */
|
||||||
|
putchar('\r');
|
||||||
printf(U_("Replay finished, press any key to restore the terminal."));
|
printf(U_("Replay finished, press any key to restore the terminal."));
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
(void)getchar();
|
(void)getchar();
|
||||||
|
Reference in New Issue
Block a user