updated for version 7.0020
diff --git a/src/ex_getln.c b/src/ex_getln.c
index a541f04..5c7686a 100644
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -2892,6 +2892,7 @@
     vim_free(p2);
 
     redrawcmd();
+    cursorcmd();
 
     /* When expanding a ":map" command and no matches are found, assume that
      * the key is supposed to be inserted literally */