WHAT_KEY has better equivalents in other tools.
[apps/madmutt.git] / lib-ui / curs_lib.c
index a2b88c8..5ac5dcb 100644 (file)
@@ -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;