0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -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(); edit_unputchar();
if (State & CMDLINE) if (State & CMDLINE)
unputcmdline(); unputcmdline();
setcursor(); /* put cursor back where it belongs */ else
setcursor(); /* put cursor back where it belongs */
} }
if (c < 0) if (c < 0)

View File

@ -714,6 +714,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
540,
/**/ /**/
539, 539,
/**/ /**/