Skip to content

Commit 30383d6

Browse files
authored
use updated private API name (microsoft#165069)
fix microsoft#164899
1 parent 3dc149a commit 30383d6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/vs/workbench/contrib/terminal/browser/xterm-private.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export interface IXtermCore {
4141
_renderer: {
4242
_renderLayers?: any[];
4343
};
44-
_onIntersectionChange: any;
44+
_handleIntersectionChange: any;
4545
};
4646
}
4747

src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.ts

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

0 commit comments

Comments
 (0)