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

Calculate width with unicode-width in tab-bar and utils #709

Merged
merged 2 commits into from Sep 12, 2021
Merged

Calculate width with unicode-width in tab-bar and utils #709

merged 2 commits into from Sep 12, 2021

Conversation

prscoelho
Copy link
Contributor

In preparation for tab names from layout files #706, we need to account for wide characters.

After changing tab-bar, this was the result (notice the line below tab bar).

screenshot-2021-09-11 16:49:13+01:00

The culprit was in zellij-utils, using unicode-width in ansi_len fixed it.

Copy link
Contributor

@a-kenji a-kenji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thank you!

@a-kenji a-kenji merged commit aae9c9c into zellij-org:main Sep 12, 2021
@prscoelho prscoelho deleted the unicode-width branch September 14, 2021 14:45
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.

None yet

2 participants