double click selections should work across wrapped lines #8558

Closed
opened 2026-01-31 01:32:25 +00:00 by claunia · 5 comments
Owner

Originally created by @yellowtailfan on GitHub (May 25, 2020).

Environment

Windows build number: Microsoft Windows [Version 10.0.18362.836]
Windows Terminal version (if applicable): Version: 1.0.1401.0
"wordDelimiters":" \\()\"',;<>!@#%^&*|[]{}│",

Steps to reproduce

  1. Double click a long path or URL (the path was printed to console without any newlines inside the path)
  2. If the path is displayed on a single line in Windows Terminal, then the whole path is selected
  3. If the path wraps across to the next line, then only the part of the path on a single line in the window is selected

This can be easily reproduced by double clicking the same long path before and after resizing the window.

Expected behavior

Double click selection should work across a wrapped line and should work the same regardless of window width and line wrap position.

Thanks for making Windows Terminal, it's really good!

Originally created by @yellowtailfan on GitHub (May 25, 2020). # Environment ```none Windows build number: Microsoft Windows [Version 10.0.18362.836] Windows Terminal version (if applicable): Version: 1.0.1401.0 "wordDelimiters":" \\()\"',;<>!@#%^&*|[]{}│", ``` # Steps to reproduce 1. Double click a long path or URL (the path was printed to console without any newlines inside the path) 2. If the path is displayed on a single line in Windows Terminal, then the whole path is selected 3. If the path wraps across to the next line, then only the part of the path on a single line in the window is selected This can be easily reproduced by double clicking the same long path before and after resizing the window. # Expected behavior Double click selection should work across a wrapped line and should work the same regardless of window width and line wrap position. Thanks for making Windows Terminal, it's really good!
Author
Owner

@DHowett commented on GitHub (May 25, 2020):

It looks like we never had a workitem for this. Thanks! Connecting it to #6106

@DHowett commented on GitHub (May 25, 2020): It looks like we never had a workitem for this. Thanks! Connecting it to #6106
Author
Owner

@mailinglists35 commented on GitHub (Apr 6, 2022):

screen recording

ctrl-click does work correctly though and opens in default browser

https://user-images.githubusercontent.com/2054302/161968239-37bfd755-dd54-4dec-8973-75a82a23c788.mp4

@mailinglists35 commented on GitHub (Apr 6, 2022): screen recording ctrl-click does work correctly though and opens in default browser https://user-images.githubusercontent.com/2054302/161968239-37bfd755-dd54-4dec-8973-75a82a23c788.mp4
Author
Owner

@zadjii-msft commented on GitHub (Nov 15, 2022):

This might just be #4009

@zadjii-msft commented on GitHub (Nov 15, 2022): This might just be #4009
Author
Owner

@zadjii-msft commented on GitHub (May 1, 2023):

Yea this is definitely /dup #4009

@zadjii-msft commented on GitHub (May 1, 2023): Yea this is definitely /dup #4009
Author
Owner

@microsoft-github-policy-service[bot] commented on GitHub (May 1, 2023):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@microsoft-github-policy-service[bot] commented on GitHub (May 1, 2023): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#8558