Mercurial > vim
diff src/getchar.c @ 12924:85a601f985ab v8.0.1338
patch 8.0.1338: USE_IM_CONTROL is confusing and incomplete
commit https://github.com/vim/vim/commit/819edbe078c8579f3620d12dac830f12ccdc5a45
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 25 17:14:33 2017 +0100
patch 8.0.1338: USE_IM_CONTROL is confusing and incomplete
Problem: USE_IM_CONTROL is confusing and incomplete.
Solution: Just use FEAT_MBYTE. Call 'imactivatefunc' also without GUI.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 25 Nov 2017 17:15:05 +0100 |
parents | 1a450ce6980c |
children | 808625d4b71b |
line wrap: on
line diff
--- a/src/getchar.c +++ b/src/getchar.c @@ -2890,7 +2890,7 @@ vgetorpeek(int advance) + typebuf.tb_len] != NUL) typebuf.tb_noremap[typebuf.tb_off + typebuf.tb_len++] = RM_YES; -#ifdef USE_IM_CONTROL +#ifdef FEAT_MBYTE /* Get IM status right after getting keys, not after the * timeout for a mapping (focus may be lost by then). */ vgetc_im_active = im_get_status();