Move responsibility to decode output encoding to terminal implementation

This commit is contained in:
Iwasaki Yudai 2017-08-26 16:53:17 +09:00
parent 807bcc25a4
commit b2c2db0764
6 changed files with 17 additions and 15 deletions

File diff suppressed because one or more lines are too long

6
js/dist/xterm.d.ts vendored
View file

@ -1,11 +1,13 @@
import * as bare from "xterm";
import { lib } from "libapps";
export declare class Xterm {
elem: HTMLElement;
term: bare;
resizeListener: () => void;
decoder: lib.UTF8Decoder;
message: HTMLElement;
messageTimeout: number;
messageTimer: number;
term: bare;
resizeListener: () => void;
constructor(elem: HTMLElement);
info(): {
columns: number;