Skip to content

Commit 8567e7e

Browse files
committed
add NEWS entry [ci skip]
1 parent eafed30 commit 8567e7e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

NEWS.md

+6
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ New language features
1111
without having to scrub away prompts and outputs.
1212
This can be disabled or enabled at will with `Base.REPL.enable_promptpaste(::Bool)`.
1313

14+
* `print_with_color` can now take a color represented by an integer between 0 and 255 inclusive as its first argument.
15+
For a number to color mapping please refer to [this chart](https://upload.wikimedia.org/wikipedia/en/1/15/Xterm_256color_chart.svg).
16+
It is also possible to use numbers as colors in environment variables that customizes colors in the REPL.
17+
For example, to get orange warning messages, simply set `ENV["JULIA_WARN_COLOR"] = 208`.
18+
Please note that not all terminals support 256 colors.
19+
1420
Language changes
1521
----------------
1622

0 commit comments

Comments
 (0)