Skip to content

Instantly share code, notes, and snippets.

@haya14busa
Created October 31, 2017 12:27
Show Gist options
  • Save haya14busa/853a42f8c9960e1419b457ac18c1c4c2 to your computer and use it in GitHub Desktop.
Save haya14busa/853a42f8c9960e1419b457ac18c1c4c2 to your computer and use it in GitHub Desktop.
diff --git a/src/ex_getln.c b/src/ex_getln.c
index 717a01224..ac447b26e 100644
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -1945,6 +1945,7 @@ cmdline_changed:
{
i = 0;
SET_NO_HLSEARCH(TRUE); /* turn off previous highlight */
+ redraw_all_later(SOME_VALID);
}
else
{
@@ -2082,7 +2083,7 @@ returncmd:
curwin->w_botline = old_botline;
highlight_match = FALSE;
validate_cursor(); /* needed for TAB */
- redraw_later(SOME_VALID);
+ redraw_all_later(SOME_VALID);
}
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment