mirror of
https://github.com/cdr/code-server.git
synced 2025-12-06 16:34:35 +01:00
Fix incorrect options to node-pty
This commit is contained in:
parent
ed50c64a77
commit
33c2d451c4
1 changed files with 0 additions and 6 deletions
|
|
@ -53,12 +53,6 @@ class Pty implements nodePty.IPty {
|
||||||
setTimeout(() => ptyProc.kill("SIGKILL"), 5000); // Double tap.
|
setTimeout(() => ptyProc.kill("SIGKILL"), 5000); // Double tap.
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}, file, Array.isArray(args) ? args : [args], {
|
|
||||||
...options,
|
|
||||||
tty: {
|
|
||||||
columns: options.cols || 100,
|
|
||||||
rows: options.rows || 100,
|
|
||||||
},
|
|
||||||
}, file, args, options);
|
}, file, args, options);
|
||||||
|
|
||||||
this.ae.on("pid", (pid) => this._pid = pid);
|
this.ae.on("pid", (pid) => this._pid = pid);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue