-
Notifications
You must be signed in to change notification settings - Fork 81
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
ponysay leaves terminal bold after running help command #241
Comments
I dont have an OSX to test but... I know that in TTY in linux the bold text is also leaved with a different colour. Do you know what is the "control code" used in OSX to return the bold color to the default? |
@jristz same control code as other POSIX terminals - I've dealt with this before, a few google searches should come up with the reset escape |
I'm testing here in a linux tty and in a unix terminal but no one left the the terminal bold when I use help. In theory the standard control code showl work but I dont get the problem. Do you mentioned that his happend on OSX, right? so you you can share some screenshoot or the control code used in the OSX terminal to clean the blodness (just to test that here you know, testing to reach out of the issue) |
Does OSX have a cb="$(tput bold)"
cc="$(tput sgr0)"
# Then use them
echo "${cb}BOLD${cc} and normal." |
Yeah, At Line 268 in f65be43
21 to reset the bold style.
Looking at the node.js world, they use I confirm that changing it to |
I tested it and I dont find problem... so I docided make the pull request as #257 |
Platform: OSX
Ponysay leaves the terminal with bold. I think it's missing a control character. (The text after running ponysay is all in bold)
The text was updated successfully, but these errors were encountered: