I think I might have to change my approach to this.
One of the cases I want to solve for is paging over a lot of
output from a program whilst using bash
.
But bash
already interprets the up/down arrows by cycling
through history, so arrow keys can’t be used for a second
purpose here.
And actually, this applies to other programs that interpret arrow key presses.