Track icon name and window title separately. Implement MOSH_TITLE_NOPREFIX

This commit is contained in:
Keith Winstein
2012-04-14 01:55:28 -04:00
parent 53f79e4261
commit d0a818d2e2
6 changed files with 72 additions and 14 deletions
+3 -1
View File
@@ -79,7 +79,9 @@ void STMClient::init( void )
swrite( STDOUT_FILENO, Terminal::Emulator::open().c_str() );
/* Add our name to window title */
overlays.set_title_prefix( wstring( L"[mosh] " ) );
if ( !getenv( "MOSH_TITLE_NOPREFIX" ) ) {
overlays.set_title_prefix( wstring( L"[mosh] " ) );
}
}
void STMClient::shutdown( void )