Fix incorrect options to node-pty
This commit is contained in:
parent
ed50c64a77
commit
33c2d451c4
@ -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);
|
||||||
|
Reference in New Issue
Block a user