This commit is contained in:
Jörg Breitbart
2021-11-10 22:36:50 +01:00
parent 9964210ac4
commit 84325627aa
3 changed files with 13 additions and 11 deletions
+9 -7
View File
@@ -9,6 +9,15 @@ import { channels, color, css } from 'browser/Color';
import { ColorContrastCache } from 'browser/ColorContrastCache';
import { ColorIndex } from 'common/Types';
interface IRestoreColorSet {
foreground: IColor;
background: IColor;
cursor: IColor;
ansi: IColor[];
}
const DEFAULT_FOREGROUND = css.toColor('#ffffff');
const DEFAULT_BACKGROUND = css.toColor('#000000');
const DEFAULT_CURSOR = css.toColor('#ffffff');
@@ -66,13 +75,6 @@ export const DEFAULT_ANSI_COLORS = Object.freeze((() => {
return colors;
})());
interface IRestoreColorSet {
foreground: IColor;
background: IColor;
cursor: IColor;
ansi: IColor[];
}
/**
* Manages the source of truth for a terminal's colors.
*/