mirror of
https://github.com/Microsoft/vscode
synced 2024-10-03 01:46:42 +00:00
fix #134692
This commit is contained in:
parent
2eb4cec44b
commit
6bde12250b
|
@ -172,6 +172,11 @@ export class TerminalGroupService extends Disposable implements ITerminalGroupSe
|
|||
const instance = this.activeInstance;
|
||||
if (instance) {
|
||||
await instance.focusWhenReady(true);
|
||||
// HACK: as a workaround for https://github.com/microsoft/vscode/issues/134692,
|
||||
// this will trigger a forced refresh of the viewport to sync the viewport and scroll bar.
|
||||
// This can likely be removed after https://github.com/xtermjs/xterm.js/issues/291 is
|
||||
// fixed upstream.
|
||||
instance.setVisible(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue