Skip to content

Commit

Permalink
adds printstyled to NEWS.md (#27761)
Browse files Browse the repository at this point in the history
* adds `printstyled` to NEWS.md

the `needs_news` tag can be removed from #25522

* fixes `printstyled` trailing whitespace in NEWS.md
  • Loading branch information
ssfrr authored and fredrikekre committed Jun 25, 2018
1 parent 8eba7c4 commit d7bf89f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,9 @@ Library improvements
[ANSI color codes](https://en.wikipedia.org/wiki/ANSI_escape_code) ([#25067]),
rather than using the undocumented `Base.have_color` global flag.

* `print_with_color` has been deprecated in favor of
`printstyled([io], xs...; bold=false, color=:normal)` for printing styled text ([#25522]).

* Functions `first` and `last` now accept `nchar` argument for `AbstractString`.
If this argument is used they return a string consisting of first/last `nchar`
characters from the original string ([#23960]).
Expand Down

0 comments on commit d7bf89f

Please sign in to comment.