Support insert mode and erase character

This commit is contained in:
Keith Winstein
2011-02-01 02:11:46 -05:00
parent f2d4f1d227
commit 39dfccf450
4 changed files with 56 additions and 1 deletions
+6
View File
@@ -68,6 +68,12 @@ void Emulator::print( Parser::Print *act )
fb.move_rows_autoscroll( 1 );
}
if ( fb.ds.insert_mode ) {
for ( int i = 0; i < chwidth; i++ ) {
fb.insert_cell( fb.ds.get_cursor_row(), fb.ds.get_cursor_col() );
}
}
this_cell = fb.get_cell();
this_cell->reset();