提交 44526a60 编写于 作者: J Jason Foreman

Fix terminal color key lookup.

上级 2e8a9c02
......@@ -93,7 +93,8 @@ for (let key in ansiColorMap) {
function updateTerminalStyles(theme: ITheme, collector: ICssStyleCollector) {
for (let key in ansiColorMap) {
const color = theme.getColor(keyPrefix + key);
let id = keyPrefix + key[0].toUpperCase() + key.substr(1);
const color = theme.getColor(id);
if (color) {
const index = ansiColorMap[key];
const rgba = color.transparent(0.996);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册