Split common/ Types.ts into .d.ts and Constants.ts

This commit is contained in:
Daniel Imms
2019-06-14 21:30:51 -07:00
parent 6e9c7888d2
commit 0b2df9d611
11 changed files with 71 additions and 60 deletions
+2 -1
View File
@@ -2,8 +2,9 @@
* Copyright (c) 2018 The xterm.js authors. All rights reserved.
* @license MIT
*/
import { DEFAULT_COLOR, CharData, IBufferLine, ICellData, IColorRGB, IAttributeData } from 'common/Types';
import { CharData, IBufferLine, ICellData, IColorRGB, IAttributeData } from 'common/Types';
import { stringFromCodePoint } from 'common/input/TextDecoder';
import { DEFAULT_COLOR } from 'common/buffer/Constants';
export const DEFAULT_ATTR = (0 << 18) | (DEFAULT_COLOR << 9) | (256 << 0);
+6
View File
@@ -0,0 +1,6 @@
/**
* Copyright (c) 2019 The xterm.js authors. All rights reserved.
* @license MIT
*/
export const DEFAULT_COLOR = 256;