Mercurial > vim
comparison src/proto/misc2.pro @ 28668:53c608c7ea9e v8.2.4858
patch 8.2.4858: K_SPECIAL may be escaped twice
Commit: https://github.com/vim/vim/commit/db08887f24d20be11d184ce321bc0890613e42bd
Author: zeertzjq <zeertzjq@outlook.com>
Date: Mon May 2 22:53:45 2022 +0100
patch 8.2.4858: K_SPECIAL may be escaped twice
Problem: K_SPECIAL may be escaped twice.
Solution: Avoid double escaping. (closes https://github.com/vim/vim/issues/10340)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 03 May 2022 00:00:04 +0200 |
parents | bb1097899693 |
children | aa44d5842d6c |
comparison
equal
deleted
inserted
replaced
28667:7782b07d29ca | 28668:53c608c7ea9e |
---|---|
22 int copy_option_part(char_u **option, char_u *buf, int maxlen, char *sep_chars); | 22 int copy_option_part(char_u **option, char_u *buf, int maxlen, char *sep_chars); |
23 int vim_isspace(int x); | 23 int vim_isspace(int x); |
24 int simplify_key(int key, int *modifiers); | 24 int simplify_key(int key, int *modifiers); |
25 int handle_x_keys(int key); | 25 int handle_x_keys(int key); |
26 char_u *get_special_key_name(int c, int modifiers); | 26 char_u *get_special_key_name(int c, int modifiers); |
27 int trans_special(char_u **srcp, char_u *dst, int flags, int *did_simplify); | 27 int trans_special(char_u **srcp, char_u *dst, int flags, int escape_ks, int *did_simplify); |
28 int special_to_buf(int key, int modifiers, int keycode, char_u *dst); | 28 int special_to_buf(int key, int modifiers, int escape_ks, char_u *dst); |
29 int find_special_key(char_u **srcp, int *modp, int flags, int *did_simplify); | 29 int find_special_key(char_u **srcp, int *modp, int flags, int *did_simplify); |
30 int may_adjust_key_for_ctrl(int modifiers, int key); | 30 int may_adjust_key_for_ctrl(int modifiers, int key); |
31 int may_remove_shift_modifier(int modifiers, int key); | 31 int may_remove_shift_modifier(int modifiers, int key); |
32 int extract_modifiers(int key, int *modp, int simplify, int *did_simplify); | 32 int extract_modifiers(int key, int *modp, int simplify, int *did_simplify); |
33 int find_special_key_in_table(int c); | 33 int find_special_key_in_table(int c); |