mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-13 04:28:41 -09:00
handle resize error better
This commit is contained in:
parent
e43efd8fa2
commit
384494d4a7
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ module.exports = class Session extends EventEmitter {
|
||||||
try {
|
try {
|
||||||
this.pty.stdout.resize({ columns, rows });
|
this.pty.stdout.resize({ columns, rows });
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.log(err.message);
|
console.error(err.stack);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue