* execute.c (do_execute): Use get_key_code(), not getch() to

consume all characters from a single sequence.
Reported by Miven Dooligan <dooligan@intergate.ca>
This commit is contained in:
Pavel Roskin 2003-11-21 05:31:59 +00:00
parent a128188ae1
commit d839fbc15a
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2003-11-21 Pavel Roskin <proski@gnu.org>
* execute.c (do_execute): Use get_key_code(), not getch() to
consume all characters from a single sequence.
Reported by Miven Dooligan <dooligan@intergate.ca>
2003-11-20 Pavel Roskin <proski@gnu.org>
* glibcompat.h: Provide replacement for g_slist_delete_link().

View File

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