]> Sergey Matveev's repositories - public-inbox.git/commit
lei q: SIGWINCH process group with the terminal
authorEric Wong <e@80x24.org>
Mon, 8 Feb 2021 09:05:11 +0000 (23:05 -1000)
committerEric Wong <e@80x24.org>
Mon, 8 Feb 2021 22:07:42 +0000 (22:07 +0000)
commit80ba871c557eb5ba79c73150519ce9ea5225d695
tree891a8b05bb0338d0afdb07b5eae72bb2d6285b6e
parentc642cbd0b4e490d5c0922f0659129c936e5349c8
lei q: SIGWINCH process group with the terminal

While using utime on the destination Maildir is enough for mutt
to eventually notice new mail, "eventually" isn't good enough.

Send a SIGWINCH to wake mutt (and likely other MUAs)
immediately.  This is more portable than relying on MUAs to
support inotify or EVFILT_VNODE.
lib/PublicInbox/LEI.pm
lib/PublicInbox/LeiXSearch.pm
script/lei