mirror of
https://github.com/sorenisanerd/gotty.git
synced 2024-12-22 23:17:29 +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 reconnectTimeout: number;
|
||||
|
||||
const decoder = new lib.UTF8Decoder()
|
||||
|
||||
const setup = () => {
|
||||
const decoder = new lib.UTF8Decoder()
|
||||
|
||||
connection.onOpen(() => {
|
||||
const termInfo = this.term.info();
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user