commit | bc256d91eadb8f32d6a5833c1878684d3c75fb2d | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Jun 06 12:06:15 2012 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Jun 06 12:06:15 2012 +0200 |
tree | 08103477dabc9e0286af65479aca7d0fc7b08f4d | |
parent | 64fdf5ceae75d85e139a0d3812e0544f5bf6cb56 [diff] [blame] |
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 index aea8d10..c6d9492 100644 --- a/src/getchar.c +++ b/src/getchar.c
@@ -2819,7 +2819,8 @@ edit_unputchar(); if (State & CMDLINE) unputcmdline(); - setcursor(); /* put cursor back where it belongs */ + else + setcursor(); /* put cursor back where it belongs */ } if (c < 0)