mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-26 16:01:15 -03: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:
committed by
ridiculousfish
parent
19e183f02f
commit
96f36a63dc
@@ -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 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user