X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=keymap.c;h=4349989b992a1079d5c80c638342c45a3de94519;hp=5e32da094ff3886e9b5c7ce5193a72bc2335aca4;hb=6fb2acab15d7fd84a287cc50ef472d34018636bd;hpb=df46bef7e086274216fb9072286626ae14ef2617 diff --git a/keymap.c b/keymap.c index 5e32da0..4349989 100644 --- a/keymap.c +++ b/keymap.c @@ -848,24 +848,3 @@ int mutt_parse_exec (BUFFER * buf, BUFFER * s, unsigned long data __attribute__ return 0; } - -/* - * 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 = wgetch (stdscr); - 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 (); -}