@@ -62,10 +62,11 @@ void DrawState::reinitialize_tabs( unsigned int start )
62
62
DrawState::DrawState ( int s_width, int s_height )
63
63
: width( s_width ), height( s_height ), cursor_col( 0 ), cursor_row( 0 ), combining_char_col( 0 ),
64
64
combining_char_row( 0 ), default_tabs( true ), tabs( s_width ), scrolling_region_top_row( 0 ),
65
- scrolling_region_bottom_row( height - 1 ), renditions( 0 ), save(), next_print_will_wrap( false ),
66
- origin_mode( false ), auto_wrap_mode( true ), insert_mode( false ), cursor_visible( true ),
67
- reverse_video( false ), bracketed_paste( false ), mouse_reporting_mode( MOUSE_REPORTING_NONE ),
68
- mouse_focus_event( false ), mouse_alternate_scroll( false ), mouse_encoding_mode( MOUSE_ENCODING_DEFAULT ),
65
+ scrolling_region_bottom_row( height - 1 ), renditions( 0 ), save(),
66
+ cursor_style( Terminal::CursorStyle::BLINKING_BLOCK ), next_print_will_wrap( false ), origin_mode( false ),
67
+ auto_wrap_mode( true ), insert_mode( false ), cursor_visible( true ), reverse_video( false ),
68
+ bracketed_paste( false ), mouse_reporting_mode( MOUSE_REPORTING_NONE ), mouse_focus_event( false ),
69
+ mouse_alternate_scroll( false ), mouse_encoding_mode( MOUSE_ENCODING_DEFAULT ),
69
70
application_mode_cursor_keys( false )
70
71
{
71
72
reinitialize_tabs ( 0 );
@@ -387,6 +388,7 @@ void Framebuffer::soft_reset( void )
387
388
ds.insert_mode = false ;
388
389
ds.origin_mode = false ;
389
390
ds.cursor_visible = true ; /* per xterm and gnome-terminal */
391
+ ds.cursor_style = Terminal::CursorStyle::BLINKING_BLOCK;
390
392
ds.application_mode_cursor_keys = false ;
391
393
ds.set_scrolling_region ( 0 , ds.get_height () - 1 );
392
394
ds.add_rendition ( 0 );
0 commit comments