mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Enable window title update when TERM is screen-X
* Uses the same logic as when TERM is xterm-X to enable window-title updates when running in screen.
This commit is contained in:
parent
19e183f02f
commit
96f36a63dc
1 changed files with 1 additions and 0 deletions
|
@ -578,6 +578,7 @@ void reader_write_title()
|
|||
bool recognized = false;
|
||||
recognized = recognized || contains( term, L"xterm", L"screen", L"nxterm", L"rxvt" );
|
||||
recognized = recognized || ! wcsncmp(term, L"xterm-", wcslen(L"xterm-"));
|
||||
recognized = recognized || ! wcsncmp(term, L"screen-", wcslen(L"screen-"));
|
||||
|
||||
if( ! recognized )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue