Put the real terminal in alternate screen mode

Closes #2

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
Anders Kaseorg
2013-01-27 20:38:30 -05:00
committed by Keith Winstein
parent 2ae960f7f0
commit ed42d31bda
3 changed files with 8 additions and 3 deletions
+4 -1
View File
@@ -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");
}
}