Feature Request: Scroll from selection dragging out of window #1659

Closed
opened 2026-01-30 22:33:07 +00:00 by claunia · 4 comments
Owner

Originally created by @carlos-zamora on GitHub (Jun 13, 2019).

Originally assigned to: @carlos-zamora on GitHub.

Summary of the new feature/enhancement

prereq: make sure you can scroll in the instance you're on

  1. begin making a selection
  2. As you move your mouse and expand the selection, move it towards a scrollable part of the buffer (so, up or down)

As of now, the selection "stops" at the end of the window.

The feature is that it should act like regular ConHost instances where it starts scrolling for you so that you can keep expanding the selection.

Proposed technical implementation details (optional)

I'm hoping this isn't too difficult. We would have to detect when the mouse gets close/past the edge of the window. Then, when that actually occurs, communicate with the scrollBar and move it.

Originally created by @carlos-zamora on GitHub (Jun 13, 2019). Originally assigned to: @carlos-zamora on GitHub. # Summary of the new feature/enhancement prereq: make sure you can scroll in the instance you're on 1. begin making a selection 2. As you move your mouse and expand the selection, move it towards a scrollable part of the buffer (so, up or down) As of now, the selection "stops" at the end of the window. The feature is that it should act like regular ConHost instances where it starts scrolling for you so that you can keep expanding the selection. # Proposed technical implementation details (optional) I'm hoping this isn't too difficult. We would have to detect when the mouse gets close/past the edge of the window. Then, when that actually occurs, communicate with the scrollBar and move it.
Author
Owner

@Summon528 commented on GitHub (Jun 14, 2019):

Is this #1083?

@Summon528 commented on GitHub (Jun 14, 2019): Is this #1083?
Author
Owner

@carlos-zamora commented on GitHub (Jun 17, 2019):

Is this #1083?

To my understanding, #1083 is more about the selection updating its y-position when the cursor goes off of the right/left side. This one is goes into effect when moving the cursor off of the top/bottom side.

E.g.: If the terminal can be scrolled up, begin making a selection and move the cursor over the top of the terminal. The terminal should start scrolling for you to continue making a selection.

@carlos-zamora commented on GitHub (Jun 17, 2019): > Is this #1083? To my understanding, #1083 is more about the selection updating its y-position when the cursor goes off of the right/left side. This one is goes into effect when moving the cursor off of the top/bottom side. E.g.: If the terminal can be scrolled up, begin making a selection and move the cursor over the top of the terminal. The terminal should start scrolling for you to continue making a selection.
Author
Owner

@hmiglani-work commented on GitHub (Jun 20, 2019):

For impact this also affects the PSReadline CaptureScreen function, which is really useful.

@hmiglani-work commented on GitHub (Jun 20, 2019): For impact this also affects the PSReadline CaptureScreen function, which is really useful.
Author
Owner

@ghost commented on GitHub (Aug 3, 2019):

:tada:This issue was addressed in #1523, which has now been successfully released as Windows Terminal Preview v0.3.2142.0.🎉

Handy links:

@ghost commented on GitHub (Aug 3, 2019): :tada:This issue was addressed in #1523, which has now been successfully released as `Windows Terminal Preview v0.3.2142.0`.:tada: Handy links: * [Release Notes](https://github.com/microsoft/terminal/releases/tag/v0.3.2142.0) * [Store Download](https://www.microsoft.com/store/apps/9n0dx20hk701?cid=storebadge&ocid=badge)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#1659