From bc256d91eadb8f32d6a5833c1878684d3c75fb2d Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 6 Jun 2012 12:06:15 +0200 Subject: [PATCH] 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. --- src/getchar.c | 3 ++- src/version.c | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/getchar.c b/src/getchar.c index aea8d10da7..c6d9492ebd 100644 --- 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 index 9eecd6fa8a..a6b23f1d17 100644 --- a/src/version.c +++ b/src/version.c @@ -714,6 +714,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 540, /**/ 539, /**/