microsoft / microsoft/terminal

Mouse panning (middle-button scrolling)

Open
#1,701 10 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Input Area-TerminalControl good first issue Help Wanted In-PR Issue-Task Product-Terminal
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.