diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-10-03 20:24:39 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-10-03 20:24:39 +0100 |
commit | 01c34e7d10e3dbd73d18a3dd79a48748c4147eaf (patch) | |
tree | ca71ff2c5e6dd418b009f9de330142e7c0b4c4c2 /src/os_unix.c | |
parent | b6aab8f44beb8c5d99393abdc2c9faab085c72aa (diff) | |
download | vim-git-01c34e7d10e3dbd73d18a3dd79a48748c4147eaf.tar.gz |
patch 9.0.0653: BS and DEL do not work properly in an interacive shellv9.0.0653
Problem: BS and DEL do not work properly in an interacive shell. (Gary
Johnson)
Solution: Adjust the length for replaced codes.
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index e86e30837..20e979c15 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -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. |