Double clicking on text to highlight is incorrect for wide characters (DECDWL). #21326

Closed
opened 2026-01-31 07:41:02 +00:00 by claunia · 0 comments
Owner

Originally created by @Lo0oG on GitHub (Feb 29, 2024).

Windows Terminal version

1.19.10573.0

Windows build number

10.0.19045

Other Software

No response

Steps to reproduce

Write-Output "$([char]27)#6Wide characters"
Double click on the "h".
image

Expected Behavior

"characters" should be highlighted

Actual Behavior

"de cha" is highlighted

Originally created by @Lo0oG on GitHub (Feb 29, 2024). ### Windows Terminal version 1.19.10573.0 ### Windows build number 10.0.19045 ### Other Software _No response_ ### Steps to reproduce Write-Output "$([char]27)#6Wide characters" Double click on the "h". ![image](https://github.com/microsoft/terminal/assets/50969206/5db2a841-1e5e-4137-96ac-466b9b981d07) ### Expected Behavior "characters" should be highlighted ### Actual Behavior "de cha" is highlighted
claunia added the Issue-BugIn-PRNeeds-Tag-FixProduct-TerminalArea-TerminalControl labels 2026-01-31 07:41:02 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21326