From 96f36a63dc96011f25fda76019859a5a39867a9f Mon Sep 17 00:00:00 2001 From: Emil Eriksson Date: Wed, 20 Jun 2012 13:55:28 +0200 Subject: [PATCH] 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. --- reader.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/reader.cpp b/reader.cpp index 62dacd15c..42ae64af2 100644 --- a/reader.cpp +++ b/reader.cpp @@ -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 ) {