#146 Fix color codes

This commit is contained in:
Bryan Ashby 2018-02-05 18:52:24 -07:00
parent 7555233ac7
commit ced943867e
1 changed files with 8 additions and 8 deletions

View File

@ -116,14 +116,14 @@ function ansiSgrFromRenegadeColorCode(cc) {
22 : [ 'yellowBG' ], 22 : [ 'yellowBG' ],
23 : [ 'whiteBG' ], 23 : [ 'whiteBG' ],
24 : [ 'bold', 'blackBG' ], 24 : [ 'blink', 'blackBG' ],
25 : [ 'bold', 'blueBG' ], 25 : [ 'blink', 'blueBG' ],
26 : [ 'bold', 'greenBG' ], 26 : [ 'blink', 'greenBG' ],
27 : [ 'bold', 'cyanBG' ], 27 : [ 'blink', 'cyanBG' ],
28 : [ 'bold', 'redBG' ], 28 : [ 'blink', 'redBG' ],
29 : [ 'bold', 'magentaBG' ], 29 : [ 'blink', 'magentaBG' ],
30 : [ 'bold', 'yellowBG' ], 30 : [ 'blink', 'yellowBG' ],
31 : [ 'bold', 'whiteBG' ], 31 : [ 'blink', 'whiteBG' ],
}[cc] || 'normal'); }[cc] || 'normal');
} }