]> git.cworth.org Git - sup/commitdiff
unmunge Marcus's icon & window title patch (sorry!)
authorWilliam Morgan <wmorgan-sup@masanjin.net>
Tue, 1 Apr 2008 15:01:35 +0000 (08:01 -0700)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Tue, 1 Apr 2008 15:01:35 +0000 (08:01 -0700)
lib/sup/buffer.rb

index dc0f001b5f26b2e28463f77ce29a0ad6df102612..92180adebfbd332800de5c74c96b18cdcc069985 100644 (file)
@@ -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