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

unicode characters offset table content #30

Open
fennifith opened this issue Oct 15, 2019 · 2 comments
Open

unicode characters offset table content #30

fennifith opened this issue Oct 15, 2019 · 2 comments
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@fennifith
Copy link
Collaborator

@theonesean placed a horse emoji in our Trello board and it's been staring at me for two days now. I can't handle it anymore. How can I do any work with this thing just... there. Watching me. It's taken over my life. But more relevant to this project, it seems to have offset the entire table, since (despite being a single character) it uses two character spaces when printed to the terminal, so the rest of the row is being pushed over by one char-width.

There seems to be a discussion to add a std.utf.displayWidth function to the Phobos library here which would be immensely useful in this situation, but I can't seem to find out if it has resulted in anything added to Phobos.

@fennifith fennifith added the bug Something isn't working label Oct 15, 2019
@fennifith
Copy link
Collaborator Author

Upon further consideration, this isn't really worth the amount of effort it might take to fix. For now, we might just strip all non-ASCII output until someone has the time to work on this.

@fennifith fennifith added the wontfix This will not be worked on label Oct 15, 2019
@benrucker
Copy link

🐴

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants