diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-01-14 12:44:41 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-01-14 12:44:41 +0100 |
commit | 651863c94a882a97aec7968fc87a638ff78e56ff (patch) | |
tree | 8b7e256d3ed933795b4442f140930734a414863e /src/ui.c | |
parent | 8be6388b7649d9378cd1ba1627a4b0aed61b86e7 (diff) | |
download | vim-git-651863c94a882a97aec7968fc87a638ff78e56ff.tar.gz |
updated for version 7.4.569v7.4.569
Problem: Having CTRL-C interrupt or not does not check the mode of the
mapping. (Ingo Karkat)
Solution: Use a bitmask with the map mode. (Christian Brabandt)
Diffstat (limited to 'src/ui.c')
-rw-r--r-- | src/ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -180,7 +180,7 @@ ui_inchar(buf, maxlen, wtime, tb_change_cnt) /* ... there is no need for CTRL-C to interrupt something, don't let * it set got_int when it was mapped. */ - if (mapped_ctrl_c) + if ((mapped_ctrl_c | curbuf->b_mapped_ctrl_c) & State) ctrl_c_interrupts = FALSE; } |