commit 531b4802327737e5231a45ff6c01582d0fbcbf76
parent 7ff103d50a6fb5b3d1e3f9e05ebf1d8f3e080043
Author: William Morgan <wmorgan-sup@masanjin.net>
Date: Tue, 1 Apr 2008 08:01:35 -0700
unmunge Marcus's icon & window title patch (sorry!)
Diffstat:
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