mirror of
https://github.com/yudai/gotty.git
synced 2025-12-24 11:20:13 +01:00
Move decoder into setup
This commit is contained in:
parent
973cf362fb
commit
a6ae1210da
3 changed files with 5 additions and 5 deletions
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…
Add table
Add a link
Reference in a new issue