aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/keymap.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-01-21 18:04:40 +0100
committerGitHub <noreply@github.com>2022-01-21 18:04:40 +0100
commite07a4b97f6552674f6038d15c0767bbfea082bf2 (patch)
tree479eed2cc5ce0afea43e239848e934b9a6df2c11 /src/nvim/keymap.c
parentbe22cc1264ba27ed46f8ef3123c532d721478607 (diff)
parent6e69a3c3e79fd78b31753343213e68e73b0048c4 (diff)
downloadrneovim-e07a4b97f6552674f6038d15c0767bbfea082bf2.tar.gz
rneovim-e07a4b97f6552674f6038d15c0767bbfea082bf2.tar.bz2
rneovim-e07a4b97f6552674f6038d15c0767bbfea082bf2.zip
Merge pull request #16936 from zeertzjq/no-escape-csi
input: never escape CSI bytes and clean up related names and comments
Diffstat (limited to 'src/nvim/keymap.c')
-rw-r--r--src/nvim/keymap.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nvim/keymap.c b/src/nvim/keymap.c
index abf016b832..32f2158d7b 100644
--- a/src/nvim/keymap.c
+++ b/src/nvim/keymap.c
@@ -158,7 +158,6 @@ static const struct key_name_entry {
{ ESC, "Esc" },
{ ESC, "Escape" }, // Alternative name
{ CSI, "CSI" },
- { K_CSI, "xCSI" },
{ '|', "Bar" },
{ '\\', "Bslash" },
{ K_DEL, "Del" },
@@ -964,7 +963,6 @@ char_u *replace_termcodes(const char_u *from, const size_t from_len, char_u **bu
for (i = utfc_ptr2len_len(src, (int)(end - src) + 1); i > 0; i--) {
// If the character is K_SPECIAL, replace it with K_SPECIAL
// KS_SPECIAL KE_FILLER.
- // If compiled with the GUI replace CSI with K_CSI.
if (*src == K_SPECIAL) {
result[dlen++] = K_SPECIAL;
result[dlen++] = KS_SPECIAL;