X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=lib-ui%2Fcurs_lib.c;fp=lib-ui%2Fcurs_lib.c;h=5ac5dcb1ddb929bde60672865651425f1d7b04a5;hb=83170cc0ea7b56b7ffe3b311b6b7d831393e7524;hp=a2b88c811d79fa6fad31a3454e6cdd7b50176e86;hpb=3438f31945bb94bc4f4b9603ac47fcde03d5c073;p=apps%2Fmadmutt.git diff --git a/lib-ui/curs_lib.c b/lib-ui/curs_lib.c index a2b88c8..5ac5dcb 100644 --- a/lib-ui/curs_lib.c +++ b/lib-ui/curs_lib.c @@ -324,27 +324,6 @@ void curses_initialize(void) ESCDELAY = 50; } -/* - * prompts the user to enter a keystroke, and displays the octal value back - * to the user. - */ -void mutt_what_key (void) -{ - int ch; - - mvwprintw(stdscr, LINES - 1, 0, _("Enter keys (^G to abort): ")); - do { - ch = getch(); - if (ch != ERR && ch != ctrl ('G')) { - mutt_message (_("Char = %s, Octal = %o, Decimal = %d"), - km_keyname (ch), ch, ch); - } - } - while (ch != ERR && ch != ctrl ('G')); - - mutt_flushinp (); -} - int mutt_any_key_to_continue (const char *s) { struct termios t;