I just set up an ubuntu machine. When I open a file using nano, I need to use the arrow keys to scroll through the file. When I use the mouse to scroll it doesn't scroll down, but scrolling up brings up the previously typed commands. How can I adjust the scroll to only scroll the file instead of the entire terminal window?
I guess this question doesn't apply to just nano, but any other tool that opens up a separate document for reading, say man pages?
1 Answer
I found something on stack overflow:
Nano doesn't support using the mouse wheel to scroll. You can enable nano's (limited) mouse support with alt-M or with --mouse when starting nano (another invocation returns to whatever mouse support your terminal has), but that's it: