Skip to content

Commit

Permalink
Fix compat annotation for italic printstyled (#50490)
Browse files Browse the repository at this point in the history
  • Loading branch information
Liozou authored Jul 10, 2023
1 parent 7b435d0 commit 206e59a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/util.jl
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ See also [`print`](@ref), [`println`](@ref), [`show`](@ref).
!!! compat "Julia 1.7"
Keywords except `color` and `bold` were added in Julia 1.7.
!!! compat "Julia 1.9"
Support for italic output was added in Julia 1.9.
!!! compat "Julia 1.10"
Support for italic output was added in Julia 1.10.
"""
@constprop :none printstyled(io::IO, msg...; bold::Bool=false, italic::Bool=false, underline::Bool=false, blink::Bool=false, reverse::Bool=false, hidden::Bool=false, color::Union{Int,Symbol}=:normal) =
with_output_color(print, color, io, msg...; bold=bold, italic=italic, underline=underline, blink=blink, reverse=reverse, hidden=hidden)
Expand Down

0 comments on commit 206e59a

Please sign in to comment.