Skip to content

Instantly share code, notes, and snippets.

@mattn
Created September 27, 2011 12:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattn/1244951 to your computer and use it in GitHub Desktop.
Save mattn/1244951 to your computer and use it in GitHub Desktop.
diff -r 5e84f6567623 src/ex_getln.c
--- a/src/ex_getln.c Wed Sep 21 20:09:42 2011 +0200
+++ b/src/ex_getln.c Tue Sep 27 15:25:10 2011 +0900
@@ -2870,6 +2870,7 @@
{
msg_no_more = TRUE;
i = cmdline_row;
+ cursorcmd();
draw_cmdline(ccline.cmdpos, ccline.cmdlen - ccline.cmdpos);
/* Avoid clearing the rest of the line too often. */
if (cmdline_row != i || ccline.overstrike)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment