kakoune/test/commands/edit-fifo-noscroll-noeol/cmd
Johannes Altmanninger fdbad4d9b2 Test to demonstrate fifo buffer blank line inconsistency
When "edit -fifo" reads data without a trailing newline, the fifo
buffer will not have a trailing blank line. But if there is a trailing
newline, we will get a trailing blank line. This is weird because the
trailing blank line exists for scrolling, it should not be determined
by the data read.

Add a test case to demonstrates the inconsistency which is fixed by
the next patch.
2024-01-30 08:23:59 +11:00

2 lines
51 B
Plaintext

:nop %sh{mkfifo fifo}; edit -fifo fifo *fifo*<ret>