X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=keymap.c;h=15ed62d8e029bab1acbf1e68de1d93901f45e921;hb=f435868132e200bfa71ac155f037cf64bf5414ba;hp=5e32da094ff3886e9b5c7ce5193a72bc2335aca4;hpb=5fbd8a74d24624a118c9b835b136c73b8da076d7;p=apps%2Fmadmutt.git diff --git a/keymap.c b/keymap.c index 5e32da0..15ed62d 100644 --- a/keymap.c +++ b/keymap.c @@ -9,7 +9,7 @@ #include -#include +#include #include #include "mutt.h" @@ -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 (); -}