0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.4.573

Problem:    Mapping CTRL-C in Visual mode doesn't work. (Ingo Karkat)
Solution:   Call get_real_state() instead of using State directly.
This commit is contained in:
Bram Moolenaar
2015-01-14 16:08:32 +01:00
parent 84c8e5ab9c
commit 5000869712
4 changed files with 14 additions and 5 deletions

View File

@@ -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 | curbuf->b_mapped_ctrl_c) & State)
if ((mapped_ctrl_c | curbuf->b_mapped_ctrl_c) & get_real_state())
ctrl_c_interrupts = FALSE;
}