[Toybox] 0001-vi-fix-regression-on-wq-add-modified-subroutine.patch
Jarno Mäkipää
jmakip87 at gmail.com
Fri Feb 3 10:47:12 PST 2023
Replaced TT.modified with function that checks if buffer has changed.
This is easier solution than relying that every piece of code that
touch buffers knows how to update some global variable.
Fix problems with empty file, by adding LF on load.
(when checking output of other editors this seemst to be common practice)
---
toys/pending/vi.c | 25 +++++++++++++++++++++----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-vi-fix-regression-on-wq-add-modified-subroutine.patch
Type: text/x-patch
Size: 3282 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20230203/88809bc1/attachment.bin>
More information about the Toybox
mailing list