Put the real terminal in alternate screen mode
Closes #2 Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
committed by
Keith Winstein
parent
2ae960f7f0
commit
ed42d31bda
@@ -89,7 +89,7 @@ const char *Display::ti_str( const char *capname ) const
|
||||
}
|
||||
|
||||
Display::Display( bool use_environment )
|
||||
: has_ech( true ), has_bce( true ), has_title( true ), posterize_colors( false )
|
||||
: has_ech( true ), has_bce( true ), has_title( true ), posterize_colors( false ), smcup( NULL ), rmcup( NULL )
|
||||
{
|
||||
if ( use_environment ) {
|
||||
int errret = -2;
|
||||
@@ -145,5 +145,8 @@ Display::Display( bool use_environment )
|
||||
/*
|
||||
posterize_colors = ti_num( "colors" ) < 256;
|
||||
*/
|
||||
|
||||
smcup = ti_str("smcup");
|
||||
rmcup = ti_str("rmcup");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user