Move decoder into setup

This commit is contained in:
Iwasaki Yudai 2017-08-24 13:22:16 +09:00
parent 973cf362fb
commit a6ae1210da
3 changed files with 5 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@ -64,9 +64,9 @@ export class WebTTY {
let pingTimer: number;
let reconnectTimeout: number;
const setup = () => {
const decoder = new lib.UTF8Decoder()
const setup = () => {
connection.onOpen(() => {
const termInfo = this.term.info();

File diff suppressed because one or more lines are too long