mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
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.
This commit is contained in:
parent
96f36a63dc
commit
eea62125a1
1 changed files with 1 additions and 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() );
|
||||
|
|
Loading…
Reference in a new issue