Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zero width spaces no longer have zero width #4439

xfnw opened this issue Jan 4, 2022 · 0 comments

zero width spaces no longer have zero width #4439

xfnw opened this issue Jan 4, 2022 · 0 comments


Copy link

xfnw commented Jan 4, 2022

Describe the bug
in the latest release zero width space (U+200b), zero width non-joiner (U+200c), and zero width joiner (U+200d) now are displayed with the width of a normal space, instead of having no width

this breaks prompts and curses-like applications that expect zero width characters to have zero width

To Reproduce
Steps to reproduce the behavior:

  1. type a zero width space with control+shift+u, typing 200b and hitting enter
  2. the zero width space has width

broken behavior of the word test with a zero width space after the first letter:

how it should display:

Environment details

Additional context
reproducible with --config NONE.

@xfnw xfnw added the bug label Jan 4, 2022
kovidgoyal added a commit that referenced this issue Jan 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

1 participant