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

Support wide characters in terminals #535

Merged
merged 4 commits into from
May 26, 2021
Merged

Support wide characters in terminals #535

merged 4 commits into from
May 26, 2021

Conversation

imsnif
Copy link
Member

@imsnif imsnif commented May 26, 2021

This PR adds support for wide characters (unicode characters that take up more than one cursor cell): eg. Eastern Asian characters and emojis.

It also removes the hack we previously had in order to subvert this issue (re-rendering all panes if there was one pane with a wide character). This also very slightly improves performance (since we don't have to loop through all characters in all panes looking for a wide character on every render).

@imsnif imsnif merged commit 44d67de into main May 26, 2021
@TheLostLambda TheLostLambda deleted the wide-char branch May 29, 2021 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant