-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
support 256 colors in print_with_color and env variables #18473
Conversation
@@ -16,10 +16,14 @@ const text_colors = AnyDict( | |||
:bold => "\033[1m", | |||
) | |||
|
|||
for i in 0:256 |
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.
isn't that 257 colors?
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.
lol yeah. Should be 0:255...
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
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.
I'm going to start calling you Tony "Eagle Eye" Kelman, a well-earned nickname.
c2de47c
to
94e277b
Compare
This should be fairly uncontroversial since it doesn't change any old behavior. Anyone opposed for merging? |
buf = IOBuffer() | ||
|
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.
this newline seems unnecessary
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.
gone
8567e7e
to
6dc9853
Compare
Added a NEWS entry so maybe someone could look through that. |
Now people can have their orange warning messages: