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
+2 -1
View File
@@ -46,7 +46,8 @@ DrawState::DrawState( int s_width, int s_height )
combining_char_col( 0 ), combining_char_row( 0 ), tabs( s_width ),
scrolling_region_top_row( 0 ), scrolling_region_bottom_row( height - 1 ),
renditions(), save(),
next_print_will_wrap( false ), origin_mode( false ), auto_wrap_mode( true )
next_print_will_wrap( false ), origin_mode( false ), auto_wrap_mode( true ),
insert_mode( false )
{
for ( int i = 0; i < width; i++ ) {
tabs[ i ] = ( (i % 8) == 0 );