mirror of
https://github.com/sorenisanerd/gotty.git
synced 2024-11-09 23:34:26 +00:00
Move decoder into setup
This commit is contained in:
parent
973cf362fb
commit
a6ae1210da
2
js/dist/gotty-bundle.js
vendored
2
js/dist/gotty-bundle.js
vendored
File diff suppressed because one or more lines are too long
@ -64,9 +64,9 @@ export class WebTTY {
|
|||||||
let pingTimer: number;
|
let pingTimer: number;
|
||||||
let reconnectTimeout: number;
|
let reconnectTimeout: number;
|
||||||
|
|
||||||
const decoder = new lib.UTF8Decoder()
|
|
||||||
|
|
||||||
const setup = () => {
|
const setup = () => {
|
||||||
|
const decoder = new lib.UTF8Decoder()
|
||||||
|
|
||||||
connection.onOpen(() => {
|
connection.onOpen(() => {
|
||||||
const termInfo = this.term.info();
|
const termInfo = this.term.info();
|
||||||
|
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user