0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24:06 -04:00

patch 9.0.0655: passing modifier codes to a shell running in the GUI

Problem:    passing modifier codes to a shell running in the GUI. (Gary
            Johnson)
Solution:   Include modifier codes into the key and drop the modifiers.
This commit is contained in:
Bram Moolenaar
2022-10-04 13:17:31 +01:00
parent ec32c781a2
commit 2f7e1b8b40
5 changed files with 23 additions and 6 deletions

View File

@@ -5106,7 +5106,8 @@ mch_call_shell_fork(
}
}
len = term_replace_bs_del_keycode(ta_buf, ta_len, len);
// Remove Vim-specific codes from the input.
len = term_replace_keycodes(ta_buf, ta_len, len);
/*
* For pipes: echo the typed characters.