Changing renditions no longer clears wrap state

This commit is contained in:
Keith Winstein
2011-09-30 19:02:28 -04:00
parent ad8cb166de
commit 3f2956ee61
4 changed files with 15 additions and 10 deletions
-4
View File
@@ -22,7 +22,6 @@ std::string Emulator::read_octets_to_host( void )
void Emulator::execute( const Parser::Execute *act )
{
fb.ds.next_print_will_wrap = false;
dispatch.dispatch( CONTROL, act, &fb );
}
@@ -111,19 +110,16 @@ void Emulator::print( const Parser::Print *act )
void Emulator::CSI_dispatch( const Parser::CSI_Dispatch *act )
{
fb.ds.next_print_will_wrap = false;
dispatch.dispatch( CSI, act, &fb );
}
void Emulator::OSC_end( const Parser::OSC_End *act )
{
fb.ds.next_print_will_wrap = false;
dispatch.OSC_dispatch( act, &fb );
}
void Emulator::Esc_dispatch( const Parser::Esc_Dispatch *act )
{
fb.ds.next_print_will_wrap = false;
/* handle 7-bit ESC-encoding of C1 control characters */
if ( (dispatch.get_dispatch_chars().size() == 0)
&& (0x40 <= act->ch)