mirror of
https://github.com/neovim/neovim.git
synced 2025-10-09 11:26:37 +00:00
fix(terminal): set cursor cell percentage (#31703)
Fixes: https://github.com/neovim/neovim/issues/31685
This commit is contained in:
@@ -1961,9 +1961,11 @@ static void refresh_cursor(Terminal *term)
|
||||
break;
|
||||
case VTERM_PROP_CURSORSHAPE_UNDERLINE:
|
||||
shape_table[SHAPE_IDX_TERM].shape = SHAPE_HOR;
|
||||
shape_table[SHAPE_IDX_TERM].percentage = 20;
|
||||
break;
|
||||
case VTERM_PROP_CURSORSHAPE_BAR_LEFT:
|
||||
shape_table[SHAPE_IDX_TERM].shape = SHAPE_VER;
|
||||
shape_table[SHAPE_IDX_TERM].percentage = 25;
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user