Commit a6ae1210 by Iwasaki Yudai

Move decoder into setup

1 parent 973cf362
This diff could not be displayed because it is too large.
......@@ -64,9 +64,9 @@ export class WebTTY {
let pingTimer: number;
let reconnectTimeout: number;
const decoder = new lib.UTF8Decoder()
const setup = () => {
const decoder = new lib.UTF8Decoder()
connection.onOpen(() => {
const termInfo = this.term.info();
......
This diff could not be displayed because it is too large.
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!