sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit 004f605412f27ae6d2acd813bd060b50d7203bc6
parent 44aaf4c9e353c5334c8426f36c79cfc2ff8727ba
Author: William Morgan <wmorgan-sup@masanjin.net>
Date:   Sat, 16 Feb 2008 06:08:36 -0800

Merge branch 'cancel-search'

Diffstat:
M lib/sup/modes/thread-index-mode.rb | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/lib/sup/modes/thread-index-mode.rb b/lib/sup/modes/thread-index-mode.rb
@@ -473,7 +473,7 @@ EOS
     last_update = Time.now
     @ts.load_n_threads(ts_to_load, opts) do |i|
       if (Time.now - last_update) >= 0.25
-        BufferManager.say "Loaded #{i.pluralize 'thread'} (use ^G to cancel)...", @mbid
+        BufferManager.say "Loaded #{i.pluralize 'thread'}...", @mbid
         update
         BufferManager.draw_screen
         last_update = Time.now
@@ -516,10 +516,8 @@ EOS
     myopts = @load_thread_opts.merge({ :when_done => (lambda do |num|
       opts[:when_done].call(num) if opts[:when_done]
 
-      cancelled = @interrupt_search?" (search cancelled by user)":""
-
       if num > 0
-        BufferManager.flash "Found #{num.pluralize 'thread'}#{cancelled}."
+        BufferManager.flash "Found #{num.pluralize 'thread'}."
       else
         BufferManager.flash "No matches."
       end