Links/URLs get offset when certain unicode characters are printed #11968

Open
opened 2026-01-31 03:02:46 +00:00 by claunia · 0 comments
Owner

Originally created by @Entrivax on GitHub (Jan 5, 2021).

Originally assigned to: @DHowett on GitHub.

Environment

Windows build number: Windows 10 version 2004 (10.0.19041.0)
Windows Terminal version: Preview 1.5.3242.0

Steps to reproduce

Print certain unicode characters like this one: 𝓐

Expected behavior

Links/URLs should be valid.

Actual behavior

Links/URLs get offset and break with the presence of certain unicode characters.
For example, if the following text is printed:

𝓐𝓐𝓐
https://microsoft.com/

image

The hoverable link, clickable link and opened link is ps://microsoft.com/
If those unicode characters are not printed (if you scroll for example), the links work again.

https://user-images.githubusercontent.com/1197915/103703479-e54b9280-4fa7-11eb-9394-4d6bd81e952d.mp4

Note that the emoji doesn't cause the issue.
The code used in the video is:

console.log(`𝓐𝓐𝓐𝓐𝓐𝓐 123 https://microsoft.com/

✨ https://google.com/
https://google.fr/
https://youtube.com/
https://aka.ms/`)
Originally created by @Entrivax on GitHub (Jan 5, 2021). Originally assigned to: @DHowett on GitHub. # Environment ```none Windows build number: Windows 10 version 2004 (10.0.19041.0) Windows Terminal version: Preview 1.5.3242.0 ``` # Steps to reproduce Print certain unicode characters like this one: `𝓐` # Expected behavior Links/URLs should be valid. # Actual behavior Links/URLs get offset and break with the presence of certain unicode characters. For example, if the following text is printed: ```none 𝓐𝓐𝓐 https://microsoft.com/ ``` ![image](https://user-images.githubusercontent.com/1197915/103703785-77ec3180-4fa8-11eb-888f-536ac6a8271c.png) The hoverable link, clickable link and opened link is `ps://microsoft.com/ ` If those unicode characters are not printed (if you scroll for example), the links work again. https://user-images.githubusercontent.com/1197915/103703479-e54b9280-4fa7-11eb-9394-4d6bd81e952d.mp4 Note that the emoji doesn't cause the issue. The code used in the video is: ```js console.log(`𝓐𝓐𝓐𝓐𝓐𝓐 123 https://microsoft.com/ ✨ https://google.com/ https://google.fr/ https://youtube.com/ https://aka.ms/`) ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#11968