Skip to content

Commit c8804ae

Browse files
committed
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.
1 parent e1a8d0a commit c8804ae

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/normal.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,9 @@ normal_cmd_get_more_chars(
417417
State = MODE_REPLACE; // pretend Replace mode
418418
#ifdef CURSOR_SHAPE
419419
ui_cursor_shape(); // show different cursor shape
420+
#endif
421+
#ifdef FEAT_MOUSESHAPE
422+
update_mouseshape(-1);
420423
#endif
421424
}
422425
if (lang && curbuf->b_p_iminsert == B_IMODE_LMAP)

0 commit comments

Comments
 (0)