Piping to less and mdless splits input
Created by: moore3071
Steps to reproduce
run cat /filesystem.toml | less
Expected behaviour
The content of /filesystem.toml
can be viewed through the pager less with identical functionality to less /filesystem.toml
.
Actual behaviour
The less interface is interlaced with the terminal prompt. input is accepted from the prompt for one input character followed by less accepting the next input and so on. Upon exiting less by pressing q
the terminal goes blank until further input which then displays the prompt with whatever input it read while less was running.