mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 05:19:39 +00:00
parent
3dc149ae65
commit
30383d68ad
|
@ -41,7 +41,7 @@ export interface IXtermCore {
|
|||
_renderer: {
|
||||
_renderLayers?: any[];
|
||||
};
|
||||
_onIntersectionChange: any;
|
||||
_handleIntersectionChange: any;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue