From bc256d91eadb8f32d6a5833c1878684d3c75fb2d Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 6 Jun 2012 12:06:15 +0200 Subject: 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 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/getchar.c') 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) -- cgit v1.2.3