microsoft / microsoft/terminal
alternate scroll mode breaks ctrl-mousewheel zoom
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
### Windows Terminal version
1.21.1272.0
### Windows build number
10.0.22631.0
### Other Software
nano 6.0
any app that supports alternatve scroll mode
### Steps to reproduce
Run any app that supports alternatve scroll mode
Try to zoom with ctrl+mousewheel
### Expected Behavior
Zooming
### Actual Behavior
Text cursor moves like there is no ctrl pressed
It has always been there (I checked 1.17.11461.0 with `printf "\e[?1007h"` to enable the mode), but after the recent update, alternate scroll mode is enabled by default, conviniently alongside with forced updates and no settings to roll back breaking changes exposed.
The workaround is to add `printf "\e[?1007l"` to ~/.bashrc or to use ctrl+/ctrl- to zoom.
Contributor guide
Research direction
Reproduce the issue on Windows Terminal 1.21.1272.0 with nano or another application that supports alternate scroll mode, then compare Ctrl+mousewheel with alternate scroll mode enabled and disabled. Investigate the terminal's handling of alternate scroll input and zoom shortcuts. Done means Ctrl+mousewheel zooms instead of moving the text cursor while alternate scroll mode is enabled, with the existing Ctrl+/Ctrl- workaround unaffected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100