microsoft / microsoft/terminal
Disable scroll keyboard shortcut when in alternate screen mode
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
Description of the new feature/enhancement
By default ctrl+shift+up/down scrolls windows terminal up or down. This is good for normal terminal usage, however it is not generally useful when in an alternate screen app like vim, emacs, tmux, etc. which generally handle scrolling internally. These apps also can have ctrl+shift+up/down bound to useful shortcuts, like in emacs by default it will extend the selection up or down by a paragraph.
I would suggest if possible an option to disable the scrolling shortcut when in alternate screen mode and pass it through to the underlying program.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file, test, or entry point is named. Start by locating handling for Ctrl+Shift+Up/Down and the alternate-screen state, then verify that the shortcuts continue to scroll normally outside alternate-screen applications and pass through within them.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100