0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 9.0.1199: crash when using kitty and using a mapping with <Esc>

Problem:    Crash when using kitty and using a mapping with <Esc>.
Solution:   Do not try setting did_simplify when it is NULL. (closes #11817)
This commit is contained in:
Bram Moolenaar
2023-01-14 21:07:07 +00:00
parent 24a8d06d7f
commit 584b853ee0
4 changed files with 12 additions and 3 deletions

View File

@@ -2818,6 +2818,7 @@ long elapsed(DWORD start_tick);
#define FSK_KEEP_X_KEY 0x02 // don't translate xHome to Home key
#define FSK_IN_STRING 0x04 // TRUE in string, double quote is escaped
#define FSK_SIMPLIFY 0x08 // simplify <C-H> and <A-x>
#define FSK_FROM_PART 0x10 // left-hand-side of mapping
// Flags for the readdirex function, how to sort the result
#define READDIR_SORT_NONE 0 // do not sort