diff options
author | Emil Eriksson <asheidan@gmail.com> | 2012-06-20 13:55:28 +0200 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-06-21 10:30:12 -0700 |
commit | 96f36a63dc96011f25fda76019859a5a39867a9f (patch) | |
tree | 220f537c7d8512446486e1d8a22da2d9c4d94209 /reader.cpp | |
parent | 19e183f02ff4acde940d1512d4a52515f0d10a02 (diff) |
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.
Diffstat (limited to 'reader.cpp')
-rw-r--r-- | reader.cpp | 1 |
1 files changed, 1 insertions, 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 ) { |