From 3971905bac0fe7e7519b35b1e558b4f1de55708d Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 5 Sep 2017 22:20:46 +0200 Subject: patch 8.0.1060: when imstyle is one, mapping breaks preediting Problem: When imstyle is one, mapping breaks preediting. Solution: Pass though preediting key-events. (Yasuhiro Matsumoto, closes #2064, closes #2063) --- src/mbyte.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/mbyte.c') diff --git a/src/mbyte.c b/src/mbyte.c index 617a97d0e..f279bdef7 100644 --- a/src/mbyte.c +++ b/src/mbyte.c @@ -4964,7 +4964,11 @@ im_delete_preedit(void) return; } - if (State & NORMAL) + if (State & NORMAL +#ifdef FEAT_TERMINAL + && !term_use_loop() +#endif + ) { im_preedit_cursor = 0; return; -- cgit v1.2.1