mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-19 16:02:44 +08: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
|
@ -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 New Issue
Block a user