diff --git a/src/ChangeLog b/src/ChangeLog index 0a4d028fc..de018d0d3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2002-07-29 Pavel Roskin + * main.c (do_execute): Add newline after "Press any key to + continue". + * cons.saver.c: Eliminate some global variables. Further cleanup. Make sure that console_fd is always closed. diff --git a/src/main.c b/src/main.c index 01a1290de..b11f5378a 100644 --- a/src/main.c +++ b/src/main.c @@ -687,7 +687,7 @@ do_execute (const char *shell, const char *command, int flags) (pause_after_run == pause_on_dumb_terminals && !xterm_flag && !console_flag)) && !quit && subshell_state != RUNNING_COMMAND) { - printf (_("Press any key to continue...")); + printf ("%s\r\n", _("Press any key to continue...")); last_paused = 1; fflush (stdout); mc_raw_mode ();