summaryrefslogtreecommitdiffstats
path: root/keymap.c
diff options
context:
space:
mode:
authorBrendan Cully <brendan@kublai.com>2003-07-16 11:17:31 +0000
committerBrendan Cully <brendan@kublai.com>2003-07-16 11:17:31 +0000
commit2a5f051c7fb9fd90aa419067838c1ec2a981a8fd (patch)
tree1b9d1d3907c2a728506535b00d04962d4c075505 /keymap.c
parent568f3435d21324e8e2ec0af6cc54584aeb688089 (diff)
This patch redoes yesterday's unbuffered input patch. Now it uses a
pseudo-option, which means less mess to carry down the call stack. It also made it much easier to have the SSL certificate menu be unbuffered, which it is now. So push commands won't annoy you when entering passwords or accepting certificates.
Diffstat (limited to 'keymap.c')
-rw-r--r--keymap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keymap.c b/keymap.c
index f81af2b5..6fa4729e 100644
--- a/keymap.c
+++ b/keymap.c
@@ -357,7 +357,7 @@ static int retry_generic (int menu, keycode_t *keys, int keyslen, int lastkey)
* OP_NULL no function bound to key sequence
* -1 error occured while reading input
*/
-int _km_dokey (int menu, int flags)
+int km_dokey (int menu)
{
event_t tmp;
struct keymap_t *map = Keymaps[menu];
@@ -374,7 +374,7 @@ int _km_dokey (int menu, int flags)
if (menu != MENU_EDITOR)
timeout ((Timeout > 0 ? Timeout : 60) * 1000);
- tmp = _mutt_getch(flags);
+ tmp = mutt_getch();
if (menu != MENU_EDITOR)
timeout (-1); /* restore blocking operation */