sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit 22029692268b29d2125b297aea6c542032bd0cb6
parent 36629efcb95dc1d23bef8b343be99359aa968604
Author: William Morgan <wmorgan-sup@masanjin.net>
Date:   Fri,  5 Jun 2009 10:34:31 -0400

don't jump to the next open message when expanding

When pressing enter to expand an entire message, don't jump to the next
open message. Only jump when you've collapsed the message.

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
@@ -261,7 +261,7 @@ EOS
     end
     if chunk.is_a?(Message)
       jump_to_message chunk
-      jump_to_next_open
+      jump_to_next_open if layout.state == :closed
     end
   end