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:
2
src/ui.c
2
src/ui.c
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user