From 244feeb67478582fbf5597f25aaa9723e786d18a Mon Sep 17 00:00:00 2001 From: Brendan Cully Date: Sat, 30 Aug 2008 19:59:42 -0700 Subject: 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. --- flags.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'flags.c') 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); -- cgit v1.2.3