0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.3.540

Problem:    Cursor is left on the text instead of the command line.
Solution:   Don't call setcursor() in command line mode.
This commit is contained in:
Bram Moolenaar
2012-06-06 12:06:15 +02:00
parent 64fdf5ceae
commit bc256d91ea
2 changed files with 4 additions and 1 deletions

View File

@@ -2819,7 +2819,8 @@ vgetorpeek(advance)
edit_unputchar();
if (State & CMDLINE)
unputcmdline();
setcursor(); /* put cursor back where it belongs */
else
setcursor(); /* put cursor back where it belongs */
}
if (c < 0)