@@ -24,15 +24,15 @@ var (
24
24
// TrueColor lookalikes for displaying AnsiColor f.e. with the HTML parser
25
25
// Colors based on http://clrs.cc/
26
26
// "TrueColorForAnsiColor"
27
- var tcfac map [* AnsiColor ]TrueColor = map [* AnsiColor ]TrueColor {
28
- & ColorBlack : {0 , 0 , 0 },
29
- & ColorRed : {255 , 65 , 54 },
30
- & ColorGreen : {149 , 189 , 64 },
31
- & ColorYellow : {255 , 220 , 0 },
32
- & ColorBlue : {0 , 116 , 217 },
33
- & ColorMagenta : {177 , 13 , 201 },
34
- & ColorCyan : {105 , 206 , 245 },
35
- & ColorWhite : {255 , 255 , 255 },
27
+ var tcfac map [AnsiColor ]TrueColor = map [AnsiColor ]TrueColor {
28
+ ColorBlack : {0 , 0 , 0 },
29
+ ColorRed : {255 , 65 , 54 },
30
+ ColorGreen : {149 , 189 , 64 },
31
+ ColorYellow : {255 , 220 , 0 },
32
+ ColorBlue : {0 , 116 , 217 },
33
+ ColorMagenta : {177 , 13 , 201 },
34
+ ColorCyan : {105 , 206 , 245 },
35
+ ColorWhite : {255 , 255 , 255 },
36
36
}
37
37
38
38
// Color has a pre- and a suffix
@@ -104,7 +104,7 @@ func (ac AnsiColor) getPrefix(p Parser) string {
104
104
105
105
case "html" :
106
106
// Get the TrueColor for the AnsiColor
107
- tc := tcfac [& ac ]
107
+ tc := tcfac [ac ]
108
108
return tc .getPrefix (p )
109
109
}
110
110
@@ -121,7 +121,7 @@ func (ac AnsiColor) getSuffix(p Parser) string {
121
121
122
122
case "html" :
123
123
// Get the TrueColor for the AnsiColor
124
- tc := tcfac [& ac ]
124
+ tc := tcfac [ac ]
125
125
return tc .getSuffix (p )
126
126
}
127
127
0 commit comments