We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7100c36 commit aeed06fCopy full SHA for aeed06f
base/util.jl
@@ -66,7 +66,7 @@ Printing with the color `:nothing` will print the string without modifications.
66
"""
67
text_colors
68
69
-function with_output_color(f::Function, color::Union{Int, Symbol}, io::IO, args...; bold::Bool = false)
+function with_output_color(@nospecialize(f::Function), color::Union{Int, Symbol}, io::IO, args...; bold::Bool = false)
70
buf = IOBuffer()
71
iscolor = get(io, :color, false)::Bool
72
try f(IOContext(buf, io), args...)
0 commit comments