sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit f28defc75f7ae2332c7355171713a5195b8170d8
parent 9c47a30c9a6cdff6d1b7eadbaaa8865acbab238c
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date:   Thu, 11 Jan 2007 19:09:11 +0000

removing some warnings


git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@242 5c8cc53c-5e98-4d25-b20a-d8db53a31250

Diffstat:
M lib/sup/buffer.rb | 2 +-
M lib/sup/modes/scroll-mode.rb | 2 +-
M lib/sup/thread.rb | 1 -
3 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/lib/sup/buffer.rb b/lib/sup/buffer.rb
@@ -14,7 +14,7 @@ module Ncurses
   end
 
   def mutex; @mutex ||= Mutex.new; end
-  def sync &b; mutex.synchronize &b; end
+  def sync &b; mutex.synchronize(&b); end
 
   ## aaahhh, user input. who would have though that such a simple
   ## idea would be SO FUCKING COMPLICATED?! because apparently
diff --git a/lib/sup/modes/scroll-mode.rb b/lib/sup/modes/scroll-mode.rb
@@ -80,7 +80,7 @@ class ScrollMode < Mode
   end
 
   def resize *a
-    super *a
+    super(*a)
     ensure_mode_validity
   end
 
diff --git a/lib/sup/thread.rb b/lib/sup/thread.rb
@@ -102,7 +102,6 @@ class Thread
   def set_labels l; each { |m, *o| m && m.labels = l }; end
   
   def has_label? t; any? { |m, *o| m && m.has_label?(t) }; end
-  def dirty?; any? { |m, *o| m && m.dirty? }; end
   def save index; each { |m, *o| m && m.save(index) }; end
 
   def direct_participants