Lost synchronization between keyboard controls and visual rendering during UTF-8 MATH SYMBOLS processing #14462

Closed
opened 2026-01-31 04:11:01 +00:00 by claunia · 4 comments
Owner

Originally created by @5HT on GitHub (Jul 11, 2021).

Windows Terminal version (or Windows build number)

Microsoft Windows [Version 10.0.19042.1083]

Other Software

GNU Midnight Commander 4.8.25 (WSL 2)

Steps to reproduce

Copy math unicode (UTF-8) symbols (e.g. 𝟙, ) into some text file, run e.g. mcedit:

зображення

Expected Behavior

No artefacts.

Actual Behavior

No synchronizion between keyboard controls and visual rendering.

Originally created by @5HT on GitHub (Jul 11, 2021). ### Windows Terminal version (or Windows build number) Microsoft Windows [Version 10.0.19042.1083] ### Other Software GNU Midnight Commander 4.8.25 (WSL 2) ### Steps to reproduce Copy math unicode (UTF-8) symbols (e.g. `𝟙`, ) into some text file, run e.g. `mcedit`: ![зображення](https://user-images.githubusercontent.com/144776/125190220-ba871300-e244-11eb-8bdb-a28cca8a832b.png) ### Expected Behavior No artefacts. ### Actual Behavior No synchronizion between keyboard controls and visual rendering.
claunia added the Resolution-Duplicate label 2026-01-31 04:11:01 +00:00
Author
Owner

@j4james commented on GitHub (Jul 11, 2021):

I think this might be the same as thing as #6555. Note that 𝟙 is U+1D7D9

@j4james commented on GitHub (Jul 11, 2021): I think this might be the same as thing as #6555. Note that `𝟙` is `U+1D7D9`
Author
Owner

@KalleOlaviNiemitalo commented on GitHub (Jul 11, 2021):

U+1D7D9 MATHEMATICAL DOUBLE-STRUCK DIGIT ONE is higher than U+FFFF but not fullwidth according to https://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c, so the problem might be caused by the "Surrogate Pairs" part of https://github.com/microsoft/terminal/issues/8000.

@KalleOlaviNiemitalo commented on GitHub (Jul 11, 2021): U+1D7D9 MATHEMATICAL DOUBLE-STRUCK DIGIT ONE is higher than U+FFFF but not fullwidth according to <https://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c>, so the problem might be caused by the "Surrogate Pairs" part of <https://github.com/microsoft/terminal/issues/8000>.
Author
Owner

@zadjii-msft commented on GitHub (Jul 12, 2021):

Yea, this does sound to be the confluence of those two issues.

/dup #6555
/dup #8000

thanks!

@zadjii-msft commented on GitHub (Jul 12, 2021): Yea, this does sound to be the confluence of those two issues. /dup #6555 /dup #8000 thanks!
Author
Owner

@ghost commented on GitHub (Jul 12, 2021):

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!

@ghost commented on GitHub (Jul 12, 2021): 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#14462