diff --git a/src/ChangeLog b/src/ChangeLog index 6c23e625e..92ee64fc2 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2003-11-21 Pavel Roskin + + * execute.c (do_execute): Use get_key_code(), not getch() to + consume all characters from a single sequence. + Reported by Miven Dooligan + 2003-11-20 Pavel Roskin * glibcompat.h: Provide replacement for g_slist_delete_link(). diff --git a/src/execute.c b/src/execute.c index 83f656b44..98654bc60 100644 --- a/src/execute.c +++ b/src/execute.c @@ -133,7 +133,7 @@ do_execute (const char *shell, const char *command, int flags) printf (_("Press any key to continue...")); fflush (stdout); mc_raw_mode (); - getch (); + get_key_code (0); printf ("\r\n"); fflush (stdout); }