Merge ICharAtlasRequest with ICharAtlasConfig

ICharAtlasRequest and ICharAtlasConfig need almost exactly the same set
of information, so it's simpler if we just merge the two types.

As an added bonus, this also adds devicePixelRatio to the config, which
helps guarantee that we won't ever accidentally end up with an atlas
using a different pixel ratio than we need.
This commit is contained in:
Benjamin Woodruff
2018-03-08 23:23:33 -08:00
parent a41e183b88
commit cfe936a0b4
7 changed files with 55 additions and 72 deletions
+13
View File
@@ -0,0 +1,13 @@
/**
* Copyright (c) 2017 The xterm.js authors. All rights reserved.
* @license MIT
*/
export interface IColorSet {
foreground: string;
background: string;
cursor: string;
cursorAccent: string;
selection: string;
ansi: string[];
}