Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2022-03-03 14:35:46 +0300
committerDenys Vlasenko <vda.linux@googlemail.com>2022-03-05 00:57:05 +0300
commitfc7868602ecf0d761a9a877141add4a9b6918d02 (patch)
tree48f24ea664b9ad54a4b7ae8b028522d68504c1b2 /util-linux
parent55f969a006109703dd056bee1b6c1d11b0602449 (diff)
vi: improved handling of backspace in replace mode
In replace mode ('R' command) the backspace character should get special treatment: - backspace only goes back to the start of the replacement; - backspacing over replaced characters restores the original text. Prior to this commit BusyBox vi deleted the characters both before and after the cursor in replace mode. function old new delta undo_pop - 235 +235 char_insert 858 884 +26 indicate_error 81 84 +3 find_range 654 657 +3 static.text_yank 77 79 +2 do_cmd 4486 4243 -243 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 4/1 up/down: 269/-243) Total: 26 bytes Signed-off-by: Ron Yorston <rmy@pobox.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux')
0 files changed, 0 insertions, 0 deletions