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

support 256 colors in print_with_color and env variables #18473

Merged
merged 4 commits into from
Sep 21, 2016

Conversation

KristofferC
Copy link
Sponsor Member

image

Now people can have their orange warning messages:

image

@@ -16,10 +16,14 @@ const text_colors = AnyDict(
:bold => "\033[1m",
)

for i in 0:256
Copy link
Contributor

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?

Copy link
Sponsor Member Author

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...

Copy link
Sponsor Member Author

Choose a reason for hiding this comment

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

fixed

Copy link
Sponsor Member

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.

@KristofferC KristofferC force-pushed the kc/print_ALL_the_colors_or_at_least_256 branch from c2de47c to 94e277b Compare September 13, 2016 08:23
@kshyatt kshyatt added the stdlib:REPL Julia's REPL (Read Eval Print Loop) label Sep 13, 2016
@StefanKarpinski StefanKarpinski added this to the 0.6.0 milestone Sep 13, 2016
@KristofferC
Copy link
Sponsor Member Author

This should be fairly uncontroversial since it doesn't change any old behavior. Anyone opposed for merging?

buf = IOBuffer()

Copy link
Contributor

Choose a reason for hiding this comment

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

this newline seems unnecessary

Copy link
Sponsor Member Author

Choose a reason for hiding this comment

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

gone

@KristofferC KristofferC force-pushed the kc/print_ALL_the_colors_or_at_least_256 branch from 8567e7e to 6dc9853 Compare September 17, 2016 17:04
@KristofferC
Copy link
Sponsor Member Author

Added a NEWS entry so maybe someone could look through that.

@KristofferC KristofferC merged commit 98f4f45 into master Sep 21, 2016
@KristofferC KristofferC deleted the kc/print_ALL_the_colors_or_at_least_256 branch September 21, 2016 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib:REPL Julia's REPL (Read Eval Print Loop)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants