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

patch 9.0.1126: bracketed paste can be enabled when it is not recognized

Problem:    Bracketed paste can be enabled when pasted text is not recognized.
Solution:   Output t_BE only when t_PS and t_PE are set.
This commit is contained in:
Bram Moolenaar
2023-01-01 18:04:33 +00:00
parent ec8b74f7ab
commit fc966c19f8
6 changed files with 27 additions and 5 deletions

View File

@@ -3714,7 +3714,7 @@ ins_esc(
MAY_WANT_TO_LOG_THIS;
// Re-enable bracketed paste mode.
out_str(T_BE);
out_str_t_BE();
// Re-enable modifyOtherKeys.
out_str_t_TI();