Skip to content

Commit

Permalink
add NEWS entry [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC committed Sep 17, 2016
1 parent eafed30 commit 6dc9853
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
----------------

Expand Down

0 comments on commit 6dc9853

Please sign in to comment.