Merge pull request #26788 from hungys/terminal_foreground

Fix for terminal.foreground not working
This commit is contained in:
Daniel Imms 2017-05-17 08:59:51 -07:00 committed by GitHub
commit 0e3ca52806

View file

@ -235,7 +235,7 @@ export class TerminalPanel extends Panel {
css += `.monaco-workbench .panel.integrated-terminal .terminal-outer-container { background-color: ${bgColor}; }`;
}
const fgColor = theme.getColor(TERMINAL_FOREGROUND_COLOR);
if (bgColor) {
if (fgColor) {
css += `.monaco-workbench .panel.integrated-terminal .xterm { color: ${fgColor}; }`;
}