Skip to content

Conversation

@kiwe
Copy link
Contributor

@kiwe kiwe commented Mar 5, 2015

Code 39 only resets the color to the default one, which leaves part of strings bold after using light_* colors.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for pointing this out.
The problem with this is that background color will also be reset. I've changed the escape code to "\033[39;0m" which will reset bold state aswell. Let me know if this does the trick.

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