sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit ab2f27a958c904d87f11d494a4034c6edfb9e3d0
parent 1c510f7105e4ac076bb94a2568a1b64f08b1aacc
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date:   Fri,  5 Jan 2007 16:54:19 +0000

always use detailed headers for threads of size 1


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

Diffstat:
M lib/sup/modes/thread-view-mode.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/sup/modes/thread-view-mode.rb b/lib/sup/modes/thread-view-mode.rb
@@ -38,7 +38,7 @@ class ThreadViewMode < LineCursorMode
     end
 
     @state[latest] = :open if @state[latest] == :closed
-    @state[earliest] = :detailed if earliest.has_label?(:unread)
+    @state[earliest] = :detailed if earliest.has_label?(:unread) || @thread.size == 1
 
     BufferManager.say "Loading message bodies..." do
       regen_chunks