sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit a00b0f2aace4a06dfe00b73af21d8beb8760f616
parent db4a45630df49f0fd6270a16dad3552cdef8ee43
Author: William Morgan <wmorgan-sup@masanjin.net>
Date:   Tue,  1 Apr 2008 08:02:05 -0700

Merge branch 'master' into next

Diffstat:
M lib/sup/buffer.rb | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/lib/sup/buffer.rb b/lib/sup/buffer.rb
@@ -263,11 +263,8 @@ EOS
         get_status_and_title @focus_buf # must be called outside of the ncurses lock
       end
 
-    if title && @in_x
-      ## http://rtfm.etla.org/xterm/ctlseq.html (see Operating System Controls)
-      print "\033]2;#{title}\07" # window
-      print "\033]0;#{title}\07" # icon title
-    end
+    ## http://rtfm.etla.org/xterm/ctlseq.html (see Operating System Controls)
+    print "\033]0;#{title}\07" if title && @in_x
 
     Ncurses.mutex.lock unless opts[:sync] == false