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 55ad912 commit 6e91f75Copy full SHA for 6e91f75
src/legacy.jl
@@ -56,14 +56,14 @@ A mapping from old named colours to the new names, specifically from `light_*`
56
to `bright_*`.
57
"""
58
const RENAMED_COLORS = Dict{Symbol, Symbol}(
59
- :light_black => :bright_black,
60
- :light_red => :bright_red,
61
- :light_green => :bright_green,
62
- :light_yellow => :bright_yellow,
63
- :light_blue => :bright_blue,
+ :light_black => :bright_black,
+ :light_red => :bright_red,
+ :light_green => :bright_green,
+ :light_yellow => :bright_yellow,
+ :light_blue => :bright_blue,
64
:light_magenta => :bright_magenta,
65
- :light_cyan => :bright_cyan,
66
- :light_white => :bright_white)
+ :light_cyan => :bright_cyan,
+ :light_white => :bright_white)
67
68
legacy_color(color::Symbol) = SimpleColor(get(RENAMED_COLORS, color, color))
69
legacy_color(color256::Int) = get(ANSI_256_COLORS, color256+1, nothing)
0 commit comments