summaryrefslogtreecommitdiffstats
path: root/src/os_unix.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-10-03 20:24:39 +0100
committerBram Moolenaar <Bram@vim.org>2022-10-03 20:24:39 +0100
commit01c34e7d10e3dbd73d18a3dd79a48748c4147eaf (patch)
treeca71ff2c5e6dd418b009f9de330142e7c0b4c4c2 /src/os_unix.c
parentb6aab8f44beb8c5d99393abdc2c9faab085c72aa (diff)
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index e86e308370..20e979c158 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.