summaryrefslogtreecommitdiff
path: root/procps/pwdx.c
diff options
context:
space:
mode:
authorRon Yorston2019-02-03 14:01:58 +0000
committerDenys Vlasenko2019-02-08 13:03:06 +0100
commitdf4e3af9f716e0483bd02fd4ab3ad973ffe5b998 (patch)
tree1feec53a2fd3c7f49134322f4538daac935e1f87 /procps/pwdx.c
parentbb983f30e7ea69604212793f228270f21e8a5b06 (diff)
downloadbusybox-df4e3af9f716e0483bd02fd4ab3ad973ffe5b998.zip
busybox-df4e3af9f716e0483bd02fd4ab3ad973ffe5b998.tar.gz
vi: fix replacement of single character with CR
Currently if the 'r' command is followed by a carriage return a literal CR replaces the current character. Fix this so that: - a new line is inserted - the autoindent setting is respected - the cursor is placed at the start of the new line function old new delta do_cmd 5052 5060 +8 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/0 up/down: 8/0) Total: 8 bytes Signed-off-by: Ron Yorston <rmy@pobox.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps/pwdx.c')
0 files changed, 0 insertions, 0 deletions