mirror of
https://github.com/vim/vim.git
synced 2025-10-02 05:04:20 -04:00
patch 9.0.1112: test_mswin_event() can hang
Problem: test_mswin_event() can hang. Solution: Add the "execute" argument to process events right away. (Christopher Plewright, closes #11760)
This commit is contained in:
committed by
Bram Moolenaar
parent
96dd34e534
commit
7b0afc1d76
@@ -888,6 +888,12 @@ _OnChar(
|
||||
modifiers = get_active_modifiers();
|
||||
|
||||
ch = simplify_key(ch, &modifiers);
|
||||
|
||||
// Some keys need adjustment when the Ctrl modifier is used.
|
||||
++no_reduce_keys;
|
||||
ch = may_adjust_key_for_ctrl(modifiers, ch);
|
||||
--no_reduce_keys;
|
||||
|
||||
// remove the SHIFT modifier for keys where it's already included, e.g.,
|
||||
// '(' and '*'
|
||||
modifiers = may_remove_shift_modifier(modifiers, ch);
|
||||
|
Reference in New Issue
Block a user