Feature Request: Mouse wheel acts like cursor up/down in editor context #4241

Open
opened 2026-01-30 23:41:54 +00:00 by claunia · 0 comments
Owner

Originally created by @jamietre on GitHub (Oct 3, 2019).

Description of the new feature/enhancement

Currently, when using the mouse wheel, WT scrolls the fixed terminal output window regardless of the shell context. In an editor context like vi, or when viewing output from an interactive cli tool such as less, this doesn't make sense. Instead, the mouse wheel could act like the cursor up/down keys in these contexts. This is how ConEmu behaves by default, for example with vi:

Windows Terminal behavior in vi with mousewheel:
editor-wt

ConEmu behaviour in vi with mousewheel:
editor-conemu

Proposed technical implementation details (optional)

Mouse Wheel should conditionally behave as cursor up/cursor down keys, depending on shell context. (I don't know enough about how one might determine the correct context to say what this should be; perhaps it's a simple as any context other than the command line itself, as in when any interactive process is running?)

Originally created by @jamietre on GitHub (Oct 3, 2019). # Description of the new feature/enhancement Currently, when using the mouse wheel, WT scrolls the fixed terminal output window regardless of the shell context. In an editor context like `vi`, or when viewing output from an interactive cli tool such as `less`, this doesn't make sense. Instead, the mouse wheel could act like the cursor up/down keys in these contexts. This is how ConEmu behaves by default, for example with `vi`: Windows Terminal behavior in vi with mousewheel: ![editor-wt](https://user-images.githubusercontent.com/573056/66156738-45f35f00-e5f0-11e9-88cf-26304f27338e.gif) ConEmu behaviour in vi with mousewheel: ![editor-conemu](https://user-images.githubusercontent.com/573056/66156742-47248c00-e5f0-11e9-819a-3f47966a14df.gif) # Proposed technical implementation details (optional) Mouse Wheel should conditionally behave as cursor up/cursor down keys, depending on shell context. (I don't know enough about how one might determine the correct context to say what this should be; perhaps it's a simple as any context other than the command line itself, as in when any interactive process is running?)
claunia added the Issue-FeatureResolution-Duplicate labels 2026-01-30 23:41:54 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#4241