diff options
author | Emil Eriksson <asheidan@gmail.com> | 2012-06-21 13:48:48 +0200 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-06-21 10:30:12 -0700 |
commit | eea62125a14164f29f2b1daff8a049582745ac48 (patch) | |
tree | d2840df8427712e6b0e524670ce61c78140f7d95 /reader.cpp | |
parent | 96f36a63dc96011f25fda76019859a5a39867a9f (diff) |
Fixes title update in tmux and screen
* Seems that writestr( L"\x1b];" ); doesn't work in tmux and
screen. As discussed in fish-shell/fish-shell#47 the 2 was
removed. This commit adds the zero (L"\x1b]0;").
* Tested in screen,tmux,iTerm and xterm.
Diffstat (limited to 'reader.cpp')
-rw-r--r-- | reader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -609,7 +609,7 @@ void reader_write_title() size_t i; if( lst.size() > 0 ) { - writestr( L"\x1b];" ); + writestr( L"\x1b]0;" ); for( i=0; i<lst.size(); i++ ) { writestr( lst.at(i).c_str() ); |