elgarfo / mintty

Automatically exported from code.google.com/p/mintty
GNU General Public License v3.0
0 stars 0 forks source link

Hybrid application mousewheel mode #176

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be nice to have a mode where the mousewheel sends ^[Oa and ^[Ob
(similar to application mousewheel mode) but holding Shift while rolling
the mousewheel results in scrollback (similar to normal mousewheel mode). 
In particular, this would benefit users who set AltScreenScroll=1 and
typically use the mousewheel to scroll in "less" but want to occasionally
use the mousewheel in "less" to review primary screen content.  This would
also benefit users who would prefer to set the mousewheel mode once and
then explicitly change mousewheel behavior as needed by pressing or
releasing a modifier key.

Original issue reported on code.google.com by rob.r...@ymail.com on 31 Mar 2010 at 1:28

GoogleCodeExporter commented 9 years ago
Still pondering this ... . I can certainly see the use case, but I'm not sure 
about 
the solution. Shift+Mousewheel is already used for page-by-page scrolling. 
Also, when 
the scrollbar is shown, it's rather unintuitive if the mousewheel doesn't 
scroll 
that. 

So I'm starting to think that your issue 174 suggestion of a shortcut for 
completely 
switching between primary and alternate screen is the best way forward. Might 
be a 
good excuse to remove the 'Access from Scrollback on alternate screen' option 
as 
well,  as that's quite a bad case of mixed metaphors anyway.

Original comment by andy.koppe on 4 Apr 2010 at 10:24

GoogleCodeExporter commented 9 years ago
In application mousewheel mode, it's already possible to not use 
Shift+Mousewheel 
for page-by-page scrolling and to have a visible scrollbar that the mousewheel 
doesn't scroll.  If you don't like the idea of having a third mousewheel mode, 
then 
how about an extension to application mousewheel mode where Alt+Mousewheel 
(which is 
currently unused) results in scrollback (similar to normal mousewheel mode when 
no 
modifier is pressed)?

I concur that "Access scrollback from alternate screen" can be removed when 
issue 
174 is resolved.

Original comment by rob.r...@ymail.com on 5 Apr 2010 at 7:57

GoogleCodeExporter commented 9 years ago
Application mousewheel mode at least is signalled by the mouse pointer changing 
from an 
I-beam to an arrow. The whole area may be a bit of a mess, but I don't want to 
add to 
it any further, certainly not in 0.6.x. I'll have a go at issue 174 for 0.7.

Original comment by andy.koppe on 12 Apr 2010 at 5:40