microsoft / microsoft/terminal
Mouse panning (middle-button scrolling)
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
Summary of the new feature/enhancement
Introduce scrolling with middle mouse button, common to browsers/text editors and also available in conhost.
Currently middle mouse button is not used (right?) but there are requests to use it to paste text, so there needs to be a settings for that.
Proposed technical implementation details (optional)
PR #1523 introduces mechanism to implement scrolling, cursor image has to be replaced with appropriate images.
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
Start by reading PR #1523, which introduces the scrolling mechanism, and inspect how mouse input and cursor images are handled in the terminal. Implement middle-button panning with the appropriate cursor images, while clarifying how the proposed setting should interact with middle-button paste; done means middle-button scrolling works without removing that option.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100