From 6dc9853f1c06dddc40f00758597f6848cfdf2d2f Mon Sep 17 00:00:00 2001 From: Kristoffer Carlsson Date: Sat, 17 Sep 2016 18:59:44 +0200 Subject: [PATCH] add NEWS entry [ci skip] --- NEWS.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/NEWS.md b/NEWS.md index b5167691db82a..d21f62a8c5aac 100644 --- a/NEWS.md +++ b/NEWS.md @@ -11,6 +11,12 @@ New language features without having to scrub away prompts and outputs. This can be disabled or enabled at will with `Base.REPL.enable_promptpaste(::Bool)`. + * The function `print_with_color` can now take a color represented by an integer between 0 and 255 inclusive as its first argument. + For a number to color mapping please refer to [this chart](https://upload.wikimedia.org/wikipedia/en/1/15/Xterm_256color_chart.svg). + It is also possible to use numbers as colors in environment variables that customizes colors in the REPL. + For example, to get orange warning messages, simply set `ENV["JULIA_WARN_COLOR"] = 208`. + Please note that not all terminals support 256 colors. + Language changes ----------------