Fix most errors in Terminal.ts

This commit is contained in:
Daniel Imms
2017-08-05 01:58:42 -07:00
parent db5b908d62
commit 2104dccec5
7 changed files with 2158 additions and 2139 deletions
+4 -2
View File
@@ -2,17 +2,19 @@
* @license MIT
*/
import { Charset } from './Types';
/**
* The character sets supported by the terminal. These enable several languages
* to be represented within the terminal with only 8-bit encoding. See ISO 2022
* for a discussion on character sets. Only VT100 character sets are supported.
*/
export const CHARSETS: {[key: string]: {[key: string]: string}} = {};
export const CHARSETS: { [key: string]: Charset } = {};
/**
* The default character set, US.
*/
export const DEFAULT_CHARSET = CHARSETS['B'];
export const DEFAULT_CHARSET: Charset = CHARSETS['B'];
/**
* DEC Special Character and Line Drawing Set.