diff options
| author | Johannes Altmanninger <aclopte@gmail.com> | 2024-11-28 13:24:48 +0100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2024-12-01 22:52:42 +1100 |
| commit | 6f29950e913a05bfad8baf1f515e36cf15dd2bb2 (patch) | |
| tree | db1d8ce54341e8aac3af11c769b1e265b0903ff5 /src/buffer.hh | |
| parent | 316bca9d6225007e32e89053dc3b8bd221d40b50 (diff) | |
Fix extra newline inserted into stdin buffers
Commit c3b01a3c9 (Add back option to scroll in stdin buffers,
2024-11-27) missed the case where the initial read
from stdin had no trailing newline:
for i in $(seq 50); do printf .; sleep .1; done | kak
After the first read, we transplant the initial newline to end.
This creates an extra newline because we already added a fake newline
to uphold buffer invariants. Fix that.
Diffstat (limited to 'src/buffer.hh')
0 files changed, 0 insertions, 0 deletions
