sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit de801b1dba30897ac189b3b3b6ca589fdb22a23e
parent 68f2413aa51fc3bcb72655a6444398186c32748b
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date:   Sat, 24 Nov 2007 21:01:16 +0000

pollmode bugfix

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

Diffstat:
M lib/sup/poll.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/sup/poll.rb b/lib/sup/poll.rb
@@ -39,7 +39,7 @@ EOS
   end
 
   def buffer
-    BufferManager.spawn_unless_exists("<poll for new messages>", :hidden => true) { PollMode.new }
+    @buffer ||= BufferManager.spawn_unless_exists("<poll for new messages>", :hidden => true) { PollMode.new }
   end
 
   def poll