diff options
author | Kevin McCarthy <kevin@8t8.us> | 2018-06-03 18:34:21 -0700 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2018-06-03 18:34:21 -0700 |
commit | 3d2cef4a59819365e1b15d23cba793c25fdf8ed5 (patch) | |
tree | 755e6850ee986e58e56781598ae91b94ba79256a /mutt_curses.h | |
parent | 5ada2f51b61572903d342411580f8cc32b10f28b (diff) |
Add new timeout functions to work with inotify monitors.
The ncurses timeout() function doesn't affect the new poll inside
mutt_monitor_poll(). This meant that $imap_keepalive and $timeout
were not being respected when the monitor was used.
Create mutt_getch_timeout(), which delegates to timeout() and sets a
timeout value mutt_monitor_poll() uses too.
Diffstat (limited to 'mutt_curses.h')
-rw-r--r-- | mutt_curses.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mutt_curses.h b/mutt_curses.h index 7373d542..717a8c1e 100644 --- a/mutt_curses.h +++ b/mutt_curses.h @@ -88,6 +88,7 @@ void mutt_curs_set (int); event_t mutt_getch (void); +void mutt_getch_timeout (int); void mutt_endwin (const char *); void mutt_flushinp (void); void mutt_refresh (void); |