Skip to content

Fix width calculation problem due to unicode-width update#174

Open
jackyzy823 wants to merge 1 commit intophsym:masterfrom
jackyzy823:unicode-width-dependency
Open

Fix width calculation problem due to unicode-width update#174
jackyzy823 wants to merge 1 commit intophsym:masterfrom
jackyzy823:unicode-width-dependency

Conversation

@jackyzy823
Copy link

Another attempt to fix #165

UnicodeWidthStr::width treats escape characters as 1 column wide now (previously it just iterates the string and apply UnicodeWidthChar::width on each character and sum the result up) .
However UnicodeWidthChar::width treats escape characters as None.

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.

Cell width incorrect when using external formatting

1 participant