-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Improve bullet
figure
#36
Conversation
It definitely did not display correctly when I made this package. The problem with Some more info: https://stackoverflow.com/questions/388490/how-to-use-unicode-characters-in-windows-command-line Another possibility, this was fixed in Node.js or rather libuv, by switching from File I/O to Console I/O, or something. |
I am using a fresh Windows 10 installation in VirtualBox, specifically Note: I ran It seems like the character displays correctly as far as at least Node 0.10, so I would assume this might not be related to Node.js nor libuv: I am wondering whether the difference you experienced might due to an improvement of the default |
That is the most likely scenario, yes. |
index.js
Outdated
@@ -79,7 +79,7 @@ const fallback = { | |||
circleCross: '(×)', | |||
circlePipe: '(│)', | |||
circleQuestionMark: '(?)', | |||
bullet: '*', | |||
bullet: '●', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you do like
Line 22 in fba7e78
bullet: '●', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you mean using the following?
bullet: main.bullet,
If so, I can do this 👍
I can also update it in the other PRs.
Also, I can submit an additional PR to use this pattern for all existing characters that are common in main
and windows
. At the moment, there are still a few which are identical but do not use this pattern (for example line
).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, that's what I meant. I must have copied the wrong URL.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, I can submit an additional PR to use this pattern for all existing characters that are common in main and windows
Sure. I think one PR for all those changes is best.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed!
It turns out line
was the only figure not using this pattern. I submitted a PR at #44
I also fixed all the current PRs not using this pattern 👍
The
bullet
figureU-25cf
●
displays correctly on Windows, is there a reason to use*
instead?Ubuntu 20.10 Gnome terminal:
Windows 10
cmd.exe
(CP850):