fix(input): only disable mapped CTRL-C interrupts when getting input (#18310)

This commit is contained in:
zeertzjq
2022-04-30 13:11:35 +08:00
committed by GitHub
parent 7df25a1372
commit 2ba539f449
7 changed files with 112 additions and 47 deletions

View File

@@ -670,6 +670,7 @@ EXTERN bool ins_at_eol INIT(= false); // put cursor after eol when
EXTERN bool no_abbr INIT(= true); // true when no abbreviations loaded
EXTERN int mapped_ctrl_c INIT(= 0); // Modes where CTRL-C is mapped.
EXTERN bool ctrl_c_interrupts INIT(= true); // CTRL-C sets got_int
EXTERN cmdmod_T cmdmod; // Ex command modifiers