Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Commit

Permalink
fix a resize failed error in the browser console
Browse files Browse the repository at this point in the history
Signed-off-by: Oleksii Orel <oorel@redhat.com>
  • Loading branch information
olexii4 committed Nov 4, 2019
1 parent bcf1c25 commit a3302d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ export class RemoteTerminalWidget extends TerminalWidgetImpl {
const cols = this.term.cols;
const rows = this.term.rows;

if (this.termServer) {
if (this.termServer && this.termServer.resize) {
this.termServer.resize({ id: this.terminalId, cols, rows });
}
}
Expand Down

0 comments on commit a3302d1

Please sign in to comment.