ZWSP (\U200B) is rendered as a space when in 'grapheme clusters' mode #22612

Open
opened 2026-01-31 08:18:31 +00:00 by claunia · 0 comments
Owner

Originally created by @juliannoble on GitHub (Dec 1, 2024).

Testing with latest canary.

For ZWSP (\U200B) there appears to be no way to have it non-printing while using the 'Grapheme clusters' mode.
You have to use wcswidth to fix the behaviour this issue describes and then forgo grapheme clusters.

If grapheme clusters is intended to be (as described) the 'modern' way - then this bug would still seem to be present.

It's unclear to me how

/dup https://github.com/microsoft/terminal/issues/1472
/dup https://github.com/microsoft/terminal/issues/8000

address this specific issue.

Originally posted by @juliannoble in #11850

Originally created by @juliannoble on GitHub (Dec 1, 2024). > Testing with latest canary. > > For ZWSP (\U200B) there appears to be no way to have it non-printing while using the 'Grapheme clusters' mode. > You have to use wcswidth to fix the behaviour this issue describes and then forgo grapheme clusters. > > If grapheme clusters is intended to be (as described) the 'modern' way - then this bug would still seem to be present. > > It's unclear to me how > > /dup https://github.com/microsoft/terminal/issues/1472 > /dup https://github.com/microsoft/terminal/issues/8000 > > address this specific issue. > _Originally posted by @juliannoble in [#11850](https://github.com/microsoft/terminal/issues/11850#issuecomment-2508816313)_
claunia added the Needs-TriageIn-PRNeeds-Tag-Fix labels 2026-01-31 08:18:32 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#22612