nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 3f9d8011b90139eeedde5e2b7d86cf1743bab06b
parent 4788c5f97d4b47fabfbbeb2e0ff910394140f1f1
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Thu,  4 Apr 2019 13:59:00 +0200

tweaks: don't bother copying the NUL byte -- it is set nine lines down

Diffstat:
Msrc/text.c | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/text.c b/src/text.c @@ -1752,8 +1752,6 @@ void squeeze(linestruct *line, size_t skip) } } - *to = *from; - /* If there are spaces at the end of the line, remove them. */ while (to > newdata + skip && *(to - 1) == ' ') { to--;