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

Output layout is broken by multibyte character #68

Closed
userlocalhost opened this issue May 23, 2016 · 0 comments
Closed

Output layout is broken by multibyte character #68

userlocalhost opened this issue May 23, 2016 · 0 comments
Labels

Comments

@userlocalhost
Copy link

Output layout is broken by multibyte character

Hi, all

Thank you for providing this software. I love to use this.
And I have a feature request for multibyte character.

When I input a context which has multibyte character as below,

rows = []
rows << ['One', 1]
rows << ['Two', 2]
table = Terminal::Table.new :rows => rows

puts table

the separation character of | is shifted like following.

+-----+---+
| One | 1 |
| Two | 2 |
+-----+---+
vizv added a commit to vizv/terminal-table that referenced this issue Aug 28, 2016
vizv added a commit to vizv/terminal-table that referenced this issue Aug 28, 2016
vizv added a commit to vizv/terminal-table that referenced this issue Aug 28, 2016
nateberkopec added a commit that referenced this issue Aug 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants