fix(statusline): redraw when VIsual_mode changes (#23933)

This commit is contained in:
zeertzjq
2023-06-06 19:24:42 +08:00
committed by GitHub
parent 780ab11b90
commit 7b973c71ea
3 changed files with 61 additions and 4 deletions

View File

@@ -1292,8 +1292,9 @@ struct window_S {
linenr_T w_stl_line_count; // line count when last redrawn
int w_stl_topfill; // topfill when last redrawn
char w_stl_empty; // true if elements show 0-1 (empty line)
int w_stl_state; // State when last redrawn
int w_stl_recording; // reg_recording when last redrawn
int w_stl_state; // get_real_state() when last redrawn
int w_stl_visual_mode; // VIsual_mode when last redrawn
int w_alt_fnum; // alternate file (for # and CTRL-^)