Remove display-posterizing code. It's been dead 3 years.

Signed-off-by: John Hood <cgull@glup.org>
This commit is contained in:
John Hood
2015-06-21 17:34:42 -04:00
parent 81f21fc7ac
commit 551b77f27e
6 changed files with 1 additions and 86 deletions
+1 -7
View File
@@ -90,7 +90,7 @@ const char *Display::ti_str( const char *capname )
}
Display::Display( bool use_environment )
: has_ech( true ), has_bce( true ), has_title( true ), posterize_colors( 0 ), smcup( NULL ), rmcup( NULL )
: has_ech( true ), has_bce( true ), has_title( true ), smcup( NULL ), rmcup( NULL )
{
if ( use_environment ) {
int errret = -2;
@@ -141,12 +141,6 @@ Display::Display( bool use_environment )
}
}
/* posterization disabled because server now only advertises
xterm-256color when client has colors = 256 */
/*
posterize_colors = ti_num( "colors" ) < 256;
*/
if ( !getenv( "MOSH_NO_TERM_INIT" ) ) {
smcup = ti_str("smcup");
rmcup = ti_str("rmcup");