summaryrefslogtreecommitdiffstats
path: root/flags.c
diff options
context:
space:
mode:
authorBrendan Cully <brendan@kublai.com>2008-08-30 19:59:42 -0700
committerBrendan Cully <brendan@kublai.com>2008-08-30 19:59:42 -0700
commit244feeb67478582fbf5597f25aaa9723e786d18a (patch)
tree941eb5a42cf47a8cb6e27e796685025584eb82f4 /flags.c
parenta2976a0cfbd05a6ca1f8c6a71c14decf293bee69 (diff)
Rework timeout handling to support keepalive in the line editor.
Also allow keepalives of less than $timeout without returning before $timeout, so people who don't want to be notified of new mail don't have to be.
Diffstat (limited to 'flags.c')
-rw-r--r--flags.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/flags.c b/flags.c
index 732eb012..9465faf0 100644
--- a/flags.c
+++ b/flags.c
@@ -331,7 +331,7 @@ int mutt_change_flag (HEADER *h, int bf)
event = mutt_getch();
i = event.ch;
- if (i == -1)
+ if (i < 0)
{
CLEARLINE (LINES-1);
return (-1);