Fix MacVim CI breakage in Test_mouse_shape_after_cancelling_gr

Set mouseshape correctly when using 'r' or 'gr'. Otherwise Vim will only
do it when mouse moves or window receives focus, which is a little
random. This change will be ported upstream.
This commit is contained in:
Yee Cheng Chin
2023-03-15 07:03:43 -07:00
parent e1a8d0a4c7
commit c8804ae8ff
+3
View File
@@ -417,6 +417,9 @@ normal_cmd_get_more_chars(
State = MODE_REPLACE; // pretend Replace mode
#ifdef CURSOR_SHAPE
ui_cursor_shape(); // show different cursor shape
#endif
#ifdef FEAT_MOUSESHAPE
update_mouseshape(-1);
#endif
}
if (lang && curbuf->b_p_iminsert == B_IMODE_LMAP)