diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-06-06 12:06:15 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-06-06 12:06:15 +0200 |
commit | bc256d91eadb8f32d6a5833c1878684d3c75fb2d (patch) | |
tree | 08103477dabc9e0286af65479aca7d0fc7b08f4d /src/getchar.c | |
parent | 64fdf5ceae75d85e139a0d3812e0544f5bf6cb56 (diff) | |
download | vim-git-bc256d91eadb8f32d6a5833c1878684d3c75fb2d.tar.gz |
updated for version 7.3.540v7.3.540
Problem: Cursor is left on the text instead of the command line.
Solution: Don't call setcursor() in command line mode.
Diffstat (limited to 'src/getchar.c')
-rw-r--r-- | src/getchar.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/getchar.c b/src/getchar.c index aea8d10da..c6d9492eb 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) |