sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit 70f96119f07abd60c2a91a8b616ae03002ebf26f
parent 6d8654cc7f5eae527c11c0400455e8b8419ecf61
Author: William Morgan <wmorgan-sup@masanjin.net>
Date:   Sat,  2 Feb 2008 17:01:17 -0800

remove additional message about using ^G to cancel

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
@@ -466,7 +466,7 @@ EOS
     last_update = Time.now
     @ts.load_n_threads(@ts.size + n, 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
@@ -501,10 +501,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