# HG changeset patch # User Bram Moolenaar # Date 1338977175 -7200 # Node ID af083cb521bcb69aae315654a3873c488dc58c43 # Parent 772dcb4acf2cb6c50e0219ce13dedd4ced3033da 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. diff --git a/src/getchar.c b/src/getchar.c --- a/src/getchar.c +++ b/src/getchar.c @@ -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) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -715,6 +715,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 540, +/**/ 539, /**/ 538,