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 {
|
||||
this.pty.stdout.resize({ columns, rows });
|
||||
} catch (err) {
|
||||
console.log(err.message);
|
||||
console.error(err.stack);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue