sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit 807fd49262555879f0ad3324cfc245e1e1491d7e
parent 6da36cd8c967def621f273fb121b01b1160da260
Author: Eric Sherman <hyperbolist@gmail.com>
Date:   Wed, 20 Jan 2010 23:15:16 -0500

flush index on idle

This patch depends on [PATCHv2] idle and unidle updates.

Diffstat:
M lib/sup/modes/inbox-mode.rb | 4 ++++
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/lib/sup/modes/inbox-mode.rb b/lib/sup/modes/inbox-mode.rb
@@ -115,6 +115,10 @@ class InboxMode < ThreadIndexMode
     regen_text
   end
 
+  def handle_idle_update sender, idle_since
+    flush_index
+  end
+
   def status
     super + "    #{Index.size} messages in index"
   end