]> granicus.if.org Git - neomutt/commit
Add new timeout functions to work with inotify monitors.
authorKevin McCarthy <kevin@8t8.us>
Mon, 4 Jun 2018 01:34:21 +0000 (18:34 -0700)
committerRichard Russon <rich@flatcap.org>
Mon, 3 Sep 2018 01:04:32 +0000 (02:04 +0100)
commitf58ab14ae2e08a6a78c483edc3cfc30055735e9f
tree771daf6a3c76afb8be8be1f7b55f0c9b30d2a0bc
parentf49da35dac747d169dbbe0bd6b2ca0c3548f275d
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.
curs_lib.c
curs_lib.h
keymap.c
monitor.c
monitor.h