Skip to content

Conversation

@adorechic
Copy link

Current code uses the number of characters as a text width, so that a table rows which includes multibyte characters have different width. If we put 3 byte characters to be 2 times wider than ascii characters, a table rows have same width on monospaced font.

text-table-multibyte

@adorechic
Copy link
Author

oops, does this gem supports ruby 1.8 and 1.9? I will fix it.

@adorechic
Copy link
Author

I fixed to pass ruby 1.8 or 1.9 specs. PTAL!

@aptinio
Copy link
Owner

aptinio commented Nov 2, 2015

Thanks @adorechic. I'll take a look at this hopefully this week.

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.

2 participants