Skip to content

Commit

Permalink
fix #164899
Browse files Browse the repository at this point in the history
  • Loading branch information
meganrogge committed Oct 31, 2022
1 parent 287d963 commit 6ddcc95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export interface IXtermCore {
_renderer: {
_renderLayers?: any[];
};
_onIntersectionChange: any;
_handleIntersectionChange: any;
};
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ export class XtermTerminal extends DisposableStore implements IXtermTerminal, II
// maximize on Windows/Linux would fire an event saying that the terminal was not
// visible.
if (!!this._canvasAddon) {
this._core._renderService?._onIntersectionChange({ intersectionRatio: 1 });
this._core._renderService?._handleIntersectionChange({ intersectionRatio: 1 });
// HACK: Force a refresh of the screen to ensure links are refresh corrected.
// This can probably be removed when the above hack is fixed in Chromium.
this.raw.refresh(0, this.raw.rows - 1);
Expand Down

0 comments on commit 6ddcc95

Please sign in to comment.