Mouse scrolling is not working for fullscreen CLI apps #18943

Closed
opened 2026-01-31 06:29:05 +00:00 by claunia · 3 comments
Owner

Originally created by @tomsri01 on GitHub (Nov 23, 2022).

Windows Terminal version

1.15.2875.0

Windows build number

10.0.22621 Build 22621

Other Software

Ubuntu 20.04 WSL
GNU bash, version 5.0.17(1)-release (x86_64-pc-linux-gnu)
xterm-256color (Also tried screen-256color)
less 551 (GNU regular expressions)

PowerShell 7.3.0
more command

Steps to reproduce

Try to use touchpad or a regular mouse scroll to navigate within fullscreen apps like manpages or less.

Expected Behavior

Mouse scroll should work to move app content when opening full screen apps (i.e when alternate buffer should be used) such as manpages and less.

Actual Behavior

Mouse scroll does not work when using full screen app like manpages and less but works fine for VIM

Side note scrolling works as intended with VS Codes terminal so I doubt there is anything wrong with the shell configs..

Originally created by @tomsri01 on GitHub (Nov 23, 2022). ### Windows Terminal version 1.15.2875.0 ### Windows build number 10.0.22621 Build 22621 ### Other Software Ubuntu 20.04 WSL GNU bash, version 5.0.17(1)-release (x86_64-pc-linux-gnu) xterm-256color (Also tried screen-256color) less 551 (GNU regular expressions) PowerShell 7.3.0 more command ### Steps to reproduce Try to use touchpad or a regular mouse scroll to navigate within fullscreen apps like manpages or less. ### Expected Behavior Mouse scroll should work to move app content when opening full screen apps (i.e when alternate buffer should be used) such as manpages and less. ### Actual Behavior Mouse scroll does not work when using full screen app like manpages and less but works fine for VIM Side note scrolling works as intended with VS Codes terminal so I doubt there is anything wrong with the shell configs..
claunia added the Issue-BugResolution-Duplicate labels 2026-01-31 06:29:06 +00:00
Author
Owner

@DHowett commented on GitHub (Nov 23, 2022):

Thanks for filing! I bet this is because we don't enable "Alternate(-screen) scroll mode" by default.

If it works in vim, but not in less/man (which uses less)... I'm going to call it a /duplicate of #13187!

@DHowett commented on GitHub (Nov 23, 2022): Thanks for filing! I bet this is because we don't enable "Alternate(-screen) scroll mode" by default. If it works in vim, but not in less/man (which uses less)... I'm going to call it a /duplicate of #13187!
Author
Owner

@ghost commented on GitHub (Nov 23, 2022):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Nov 23, 2022): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Author
Owner

@tomsri01 commented on GitHub (Nov 29, 2022):

Thanks for filing! I bet this is because we don't enable "Alternate(-screen) scroll mode" by default.

If it works in vim, but not in less/man (which uses less)... I'm going to call it a /duplicate of #13187!

How is alternate scroll enabled if it is not on by default?

@tomsri01 commented on GitHub (Nov 29, 2022): > Thanks for filing! I bet this is because we don't enable "Alternate(-screen) scroll mode" by default. > > If it works in vim, but not in less/man (which uses less)... I'm going to call it a /duplicate of #13187! How is alternate scroll enabled if it is not on by default?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#18943