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

patch 9.0.0653: BS and DEL do not work properly in an interacive shell

Problem:    BS and DEL do not work properly in an interacive shell. (Gary
            Johnson)
Solution:   Adjust the length for replaced codes.
This commit is contained in:
Bram Moolenaar
2022-10-03 20:24:39 +01:00
parent b6aab8f44b
commit 01c34e7d10
5 changed files with 11 additions and 6 deletions

View File

@@ -5106,7 +5106,7 @@ mch_call_shell_fork(
}
}
term_replace_bs_del_keycode(ta_buf, ta_len, len);
len = term_replace_bs_del_keycode(ta_buf, ta_len, len);
/*
* For pipes: echo the typed characters.