commit | 01c34e7d10e3dbd73d18a3dd79a48748c4147eaf | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon Oct 03 20:24:39 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Oct 03 20:24:39 2022 +0100 |
tree | ca71ff2c5e6dd418b009f9de330142e7c0b4c4c2 | |
parent | b6aab8f44beb8c5d99393abdc2c9faab085c72aa [diff] [blame] |
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.
diff --git a/src/os_unix.c b/src/os_unix.c index e86e308..20e979c 100644 --- a/src/os_unix.c +++ b/src/os_unix.c
@@ -5106,7 +5106,7 @@ } } - 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.