diff options
author | Petja Patjas <pp01415943@gmail.com> | 2023-04-17 16:28:53 +0300 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2024-07-11 17:52:18 +0200 |
commit | 05e5d6a38157cabc733fc30acf3646a099cf139c (patch) | |
tree | 148f7f13fda4018543ef21257dd6925be049884d /procps | |
parent | 0af28b84e58307422f807ddbdafc67a68f71eb64 (diff) | |
download | busybox-w32-05e5d6a38157cabc733fc30acf3646a099cf139c.tar.gz busybox-w32-05e5d6a38157cabc733fc30acf3646a099cf139c.tar.bz2 busybox-w32-05e5d6a38157cabc733fc30acf3646a099cf139c.zip |
vi: Ensure that the edit buffer ends in a newline
Currently vi assumes that the edit buffer ends in a newline. This may
not be the case. For example:
$ printf test > test
$ vi test
<press 'o'>
We fix this by inserting a newline to the end during initialization.
Signed-off-by: Petja Patjas <pp01415943@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps')
0 files changed, 0 insertions, 0 deletions