sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit ed8fb69fdee2f63aa6fc4e9e632c59cb58fcf00e
parent af60a4080f22e9b99dd01dabe3278de0883b808a
Author: William Morgan <wmorgan-sup@masanjin.net>
Date:   Sun, 30 Dec 2007 12:16:52 -0800

remove spurious logging from completion code

Diffstat:
M lib/sup/buffer.rb | 2 --
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/lib/sup/buffer.rb b/lib/sup/buffer.rb
@@ -420,10 +420,8 @@ EOS
   def ask_many_emails_with_completions domain, question, completions, default=nil
     ask domain, question, default do |partial|
       prefix, target = partial.split_on_commas_with_remainder
-      Redwood::log "before: prefix #{prefix.inspect}, target #{target.inspect}"
       target ||= prefix.pop || ""
       prefix = prefix.join(", ") + (prefix.empty? ? "" : ", ")
-      Redwood::log "after: prefix #{prefix.inspect}, target #{target.inspect}"
       completions.select { |x| x =~ /^#{target}/i }.map { |x| [prefix + x, x] }
     end
   end