dvtm icon indicating copy to clipboard operation
dvtm copied to clipboard

Add default support for scrolling with the mouse wheel.

Open ccrusius opened this issue 4 years ago • 3 comments

Also changes the scrollback() function so that the amount to scroll can be configured as a fraction of the screen height.

This fixes #103.

ccrusius avatar Mar 13 '20 21:03 ccrusius

Hi, I'm a long time dvtm user. Just wanted to note that this patch seems to be working properly and I'm very happy with the feature, although I don't know about the implementation details. Thank you @ccrusius !

gwn avatar Feb 21 '21 13:02 gwn

I have also tried this patch and it seems to work very well. Thanks a lot @ccrusius !

kugurerdem avatar Feb 09 '23 15:02 kugurerdem

Shameless plug for a4 https://a4term.com which is a rewrite of dvtm and implements configurable scrolling with the mouse wheel by default. You can specify a number of lines to scroll (with an integer) or a percentage of a screen (with a decimal number). You can scroll whichever window the mouse is hovering over, not just the selected window. You can also use the mouse for additional configurable actions by clicking on a tag in the status bar, the layout symbol, and more. End of shameless plug.

rpmohn avatar Feb 16 '23 14:02 rpmohn