Mouse panning (middle-button scrolling) #2363

Open
opened 2026-01-30 22:53:17 +00:00 by claunia · 7 comments
Owner

Originally created by @mcpiroman on GitHub (Jun 28, 2019).

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.

Originally created by @mcpiroman on GitHub (Jun 28, 2019). # 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.
Author
Owner

@miniksa commented on GitHub (Jun 28, 2019):

Does this conflict with the proposal from #1612?

That's my major concern.

Also, I don't mind implementing panning on middle mouse if that's what we decide to do (instead of copy-paste) to make it more like conhost.

My only concern is that conhost accomplished the middle click panning through a gross, old, private API call. I don't want to accomplish it the same way. If we can do it another way, I'm good with that.

@miniksa commented on GitHub (Jun 28, 2019): Does this conflict with the proposal from #1612? That's my major concern. Also, I don't mind implementing panning on middle mouse if that's what we decide to do (instead of copy-paste) to make it more like conhost. My only concern is that conhost accomplished the middle click panning through a gross, old, private API call. I don't want to accomplish it the same way. If we can do it another way, I'm good with that.
Author
Owner

@mcpiroman commented on GitHub (Jun 28, 2019):

My only concern is that conhost accomplished the middle click panning through a gross, old, private API call. I don't want to accomplish it the same way. If we can do it another way, I'm good with that.

Good to hear that, couse the function that conhost uses indeed seemed scary.

@mcpiroman commented on GitHub (Jun 28, 2019): > My only concern is that conhost accomplished the middle click panning through a gross, old, private API call. I don't want to accomplish it the same way. If we can do it another way, I'm good with that. Good to hear that, couse the function that conhost uses indeed seemed scary.
Author
Owner

@DHowett-MSFT commented on GitHub (Jul 1, 2019):

@carlos-zamora agrees this should be the middle button binding. We have consensus!

@DHowett-MSFT commented on GitHub (Jul 1, 2019): @carlos-zamora agrees this should be the middle button binding. We have consensus!
Author
Owner

@mcpiroman commented on GitHub (Jul 2, 2019):

Actually this don't quite have to be the middle mouse button, mice have more of them (tho my's 'nly 3). It could be even keybinding. But that seems related to #1553.

@mcpiroman commented on GitHub (Jul 2, 2019): Actually this don't quite have to be the middle mouse button, mice have more of them ~(tho my's 'nly 3)~. It could be even keybinding. But that seems related to #1553.
Author
Owner

@minigithubo commented on GitHub (Sep 13, 2025):

Hi, I'd like to work on this issue. Could you please assign it to me?

@minigithubo commented on GitHub (Sep 13, 2025): Hi, I'd like to work on this issue. Could you please assign it to me?
Author
Owner

@Mayankyadav-018 commented on GitHub (Oct 2, 2025):

Hi! I’m participating in Hacktoberfest and I’d like to work on adding middle mouse button scrolling (with config option for paste vs scroll). Can I take this up?

@Mayankyadav-018 commented on GitHub (Oct 2, 2025): Hi! I’m participating in Hacktoberfest and I’d like to work on adding middle mouse button scrolling (with config option for paste vs scroll). Can I take this up?
Author
Owner

@shivam-dhir commented on GitHub (Jan 22, 2026):

Hi, I would love to work on this issue

@shivam-dhir commented on GitHub (Jan 22, 2026): Hi, I would love to work on this issue
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#2363