Skip to content

Commit 779f2fc

Browse files
committed
patch 7.4.2303
Problem: When using "is" the mode isn't always updated. Solution: Redraw the command line. (Christian Brabandt)
1 parent f1b512a commit 779f2fc

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

src/search.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3638,6 +3638,7 @@ current_sent(oparg_T *oap, long count, int include)
36383638
++curwin->w_cursor.col;
36393639
VIsual = start_pos;
36403640
VIsual_mode = 'v';
3641+
redraw_cmdline = TRUE; /* show mode later */
36413642
redraw_curbuf_later(INVERTED); /* update the inversion */
36423643
}
36433644
else

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -763,6 +763,8 @@ static char *(features[]) =
763763

764764
static int included_patches[] =
765765
{ /* Add new patch number below this line */
766+
/**/
767+
2303,
766768
/**/
767769
2302,
768770
/**/

0 commit comments

Comments
 (0)