summaryrefslogtreecommitdiff
path: root/src/buffer.cc
diff options
context:
space:
mode:
authorJohannes Altmanninger <aclopte@gmail.com>2024-11-28 13:24:48 +0100
committerMaxime Coste <mawww@kakoune.org>2024-12-01 22:52:42 +1100
commit6f29950e913a05bfad8baf1f515e36cf15dd2bb2 (patch)
treedb1d8ce54341e8aac3af11c769b1e265b0903ff5 /src/buffer.cc
parent316bca9d6225007e32e89053dc3b8bd221d40b50 (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.cc')
0 files changed, 0 insertions, 0 deletions