commit | 917ba89f7f787873cbfc9ce2e8a20b948843f0ae | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Mar 07 19:38:55 2012 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Mar 07 19:38:55 2012 +0100 |
tree | c2d53a1b7ad79762a15befaf33ec4159f1a808bb | |
parent | 9e98edfe8f8503a3ea84da714bbb5ef37364199e [diff] [blame] |
updated for version 7.3.467 Problem: Cursor positioned wrong at the command line when regaining focus and using some input method. Solution: Do not position the cursor in command line mode.
diff --git a/src/mbyte.c b/src/mbyte.c index 2a202f3..75b41ea 100644 --- a/src/mbyte.c +++ b/src/mbyte.c
@@ -4504,7 +4504,8 @@ vgetc_busy = TRUE; showmode(); vgetc_busy = old_vgetc_busy; - setcursor(); + if ((State & NORMAL) || (State & INSERT)) + setcursor(); out_flush(); }