
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.
2 lines
51 B
Plaintext
2 lines
51 B
Plaintext
:nop %sh{mkfifo fifo}; edit -fifo fifo *fifo*<ret>
|