From: William Morgan Date: Tue, 1 Apr 2008 15:01:35 +0000 (-0700) Subject: unmunge Marcus's icon & window title patch (sorry!) X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;h=531b4802327737e5231a45ff6c01582d0fbcbf76;p=sup unmunge Marcus's icon & window title patch (sorry!) --- diff --git a/lib/sup/buffer.rb b/lib/sup/buffer.rb index dc0f001..92180ad 100644 --- 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