Repository navigation
Closed
Labels
Area-RenderingText rendering, emoji, complex glyph & font-fallback issuesText rendering, emoji, complex glyph & font-fallback issuesArea-TerminalControlIssues pertaining to the terminal control (input, selection, keybindings, mouse interaction, etc.)Issues pertaining to the terminal control (input, selection, keybindings, mouse interaction, etc.)Issue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.Priority-2A description (P2)A description (P2)Product-TerminalThe new Windows Terminal.The new Windows Terminal.Resolution-Fix-CommittedFix is checked in, but it might be 3-4 weeks until a release.Fix is checked in, but it might be 3-4 weeks until a release.
Milestone
Description
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/
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.
2021-01-05_22-44-13_kWeoQrwJie.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/`)Reacted by Tsotne Nazarashvili
Metadata
Metadata
Assignees
Labels
Area-RenderingText rendering, emoji, complex glyph & font-fallback issuesText rendering, emoji, complex glyph & font-fallback issuesArea-TerminalControlIssues pertaining to the terminal control (input, selection, keybindings, mouse interaction, etc.)Issues pertaining to the terminal control (input, selection, keybindings, mouse interaction, etc.)Issue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.Priority-2A description (P2)A description (P2)Product-TerminalThe new Windows Terminal.The new Windows Terminal.Resolution-Fix-CommittedFix is checked in, but it might be 3-4 weeks until a release.Fix is checked in, but it might be 3-4 weeks until a release.

Activity
zadjii-msft commentedon Jan 6, 2021
Oh weird. I would have thought this was a dupe of #8121, but that one was fixed in 1.5.3142, so this must be it's own variation on the subject.
Those 𝓐 characters are really messing it up, huh.
Entrivax commentedon Jan 6, 2021
It looks a lot like it, going the other way from the screen of that issue.
Yeah, I found the problem when printing display usernames from an api. Not only the
𝓐character, but also the rest of the alphabet written like that. Maybe there is more characters than that, I didn't try to find them all.skyline75489 commentedon Jan 9, 2021
The 𝓐 is considered as two wide chars because of #8124. Another place we might want to use a comprehensive Unicode width estimator .
zed76r commentedon May 10, 2021
1 remaining item
Parse UTF-16 surrogates pairs for calculating pattern's position (#11915
Parse UTF-16 surrogates pairs for calculating pattern's position (#11915
Parse UTF-16 surrogates pairs for calculating pattern's position (#11915
DHowett commentedon Dec 14, 2021
Clever quick fix -- thanks Comzyh (@comzyh)! I'm rolling this into the 1.11 and 1.12 servicing releases we're putting out to make Terminal more robust over the holidays. :)
CerebralDatabank commentedon Mar 28, 2024
I'm still having this issue with 5-digit Nerd Font Unicode characters on Windows 11…
DHowett commentedon Mar 28, 2024
Which version of Terminal are you using? This issue was closed two years ago 🙂
j4james commentedon Mar 28, 2024
Dustin L. Howett (@DHowett) I think this regressed recently, because I was able to reproduce the issue until I got the update from 3 days ago. I'm assuming it was fixed by this:
Gopal Othayoth (@CerebralDatabank) Bottom line is you probably just need to get the very latest update.
CerebralDatabank commentedon Mar 28, 2024
Dustin L. Howett (@DHowett) Haha I knew that, but what can I say, I still have the issue 😅 thought replying here was better than opening a duplicate lol
James Holderness (@j4james) I think you're right, latest stable is
v1.19.10821.0and I havev1.19.10573.0. But nothing happens when I check for updates in Terminal and there's no "Update" in the Store page.If I install the latest release via the
.msixbundlefrom here, will that mess up the existing link with MS Store updates? Or should I just wait until it rolls out to my device?DHowett commentedon Mar 28, 2024
you know what, that's totally fair! hah!
Nope, you can install the
msixbundlefrom here and it will still hook up to the store for future updates!