summaryrefslogtreecommitdiffstats
path: root/mutt_curses.h
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2018-06-10 08:51:30 +0800
committerKevin McCarthy <kevin@8t8.us>2018-06-10 08:51:30 +0800
commit1acb708bcfc745c0613ecc830a720298009b2f1c (patch)
treeee4f41702171370e0a45db0c5df6e6fe7115f434 /mutt_curses.h
parent96b1449f99abcbce116aa949f6882921b5cbf223 (diff)
Move mutt_getch() timeout value into curs_lib.c
Change monitor.c to reference the curs_lib value, instead of vice-versa. We need to store the value for both monitor.c's poll and for mutt_monitor_ch() to perform an initial non-blocking check of ncurses' getch() buffer.
Diffstat (limited to 'mutt_curses.h')
-rw-r--r--mutt_curses.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mutt_curses.h b/mutt_curses.h
index 717a8c1e..d12b5790 100644
--- a/mutt_curses.h
+++ b/mutt_curses.h
@@ -86,6 +86,8 @@ void mutt_curs_set (int);
#define CI_is_return(c) ((c) == '\r' || (c) == '\n')
#endif
+extern int MuttGetchTimeout;
+
event_t mutt_getch (void);
void mutt_getch_timeout (int);