most
most copied to clipboard
Allow to use "Q" to dump contents of screen to terminal (Like `--redraw-on-quit` in less)
It would be cool if hitting Q
(uppercase q) will quit and keep the last viewed screen printed on the screen.
This is possible in less since v.594 using --redraw-on-quit
:
https://github.com/gwsw/less/commit/d081e3e79b2e731fa9144d51a85abc26dad79d50
and the following keybinding:
Q toggle-option -!^Predraw-on-quit\nq
in ~/.lesskey
.