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

Log with ambiguous-width characters #52

Closed
tgfjt opened this issue Dec 4, 2014 · 4 comments
Closed

Log with ambiguous-width characters #52

tgfjt opened this issue Dec 4, 2014 · 4 comments

Comments

@tgfjt
Copy link

tgfjt commented Dec 4, 2014

Hi.

I have a issue about Logging for Execution Time.

I'm using Max OSX with iTerm2 Build 2.0.0.20141103

and my setting with iTerm2 below:

✓ Treat ambiguous-width characters as double width

require('figures').square: This chars is ambiguous-width chars.

What do you think about using another chars like require('figures').squareSmallFilled?

square (not as double width)

2014-12-03 22 26 54

square (as double width)

2014-12-03 22 27 11

squareSmallFilled (as double width)

2014-12-03 22 27 54

@sindresorhus
Copy link
Owner

Could potentially use instead, but not sure it's worth the trouble for such an edge-case.

@tgfjt
Copy link
Author

tgfjt commented Dec 4, 2014

'█' is also ambiguous-width. '◼' is okay...

I think most of Japanese (Mac) are use this setting, maybe.
but I agree with you. It's difficult.
Do you have any idea?

@eddiemonge
Copy link

or go pure old school with |:

1.5s ||||||||||||||||||||||||||||||||||||||| 100%

@tomasstankovic
Copy link
Contributor

I think it's actually OK and we can close this. But if someone has a problem currently, please write here and we will try to resolve it.

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

No branches or pull requests

4 participants