markbt / streampager

A pager for command output or large files
MIT License
45 stars 11 forks source link

Mouse selection disappears when scrolling up #41

Open Alphare opened 3 years ago

Alphare commented 3 years ago

I often use my mouse to copy-paste chunks of terminal output, and sometimes overshoot (especially since streampager scrolls page-by-page instead of line-by-line like I'm used to), so I scroll back up to re-adjust. In streampager, this causes my selection to be lost and I have to start again. This is not a problem outside of streampager.

Alphare commented 3 years ago

Thinking about it a little bit, maybe it's the fact that streampager does page-by-page scrolling that's causing the issue, I can reproduce with less when keeping my mouse too low when scrolling back up. Is the scrolling configurable?

markbt commented 3 years ago

streampager can scroll line by line, partial parts of the screen, or full screen (the full list of keys is in the help screen). What are you pressing to get page-by-page scrolling?