commit | 3971905bac0fe7e7519b35b1e558b4f1de55708d | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Sep 05 22:20:46 2017 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Sep 05 22:20:46 2017 +0200 |
tree | c56cf0e879a0e52426e349e693a37507744a2eb8 | |
parent | 3d8d2c7ca5dda5bfd62c6d5df6659cf62e960a3d [diff] [blame] |
patch 8.0.1060: when imstyle is one, mapping <Left> breaks preediting Problem: When imstyle is one, mapping <Left> breaks preediting. Solution: Pass though preediting key-events. (Yasuhiro Matsumoto, closes #2064, closes #2063)
diff --git a/src/mbyte.c b/src/mbyte.c index 617a97d..f279bde 100644 --- a/src/mbyte.c +++ b/src/mbyte.c
@@ -4964,7 +4964,11 @@ return; } - if (State & NORMAL) + if (State & NORMAL +#ifdef FEAT_TERMINAL + && !term_use_loop() +#endif + ) { im_preedit_cursor = 0; return;