提交 2ead6c43 编写于 作者: D Daniel Imms

Refresh all terminal layouts on resize

Fixes #9405
上级 df36155c
......@@ -61,10 +61,9 @@ export class TerminalPanel extends Panel {
if (!dimension) {
return;
}
let activeIndex = this.terminalService.getActiveTerminalIndex();
if (activeIndex !== -1 && this.terminalInstances.length > 0) {
this.terminalInstances[this.terminalService.getActiveTerminalIndex()].layout(dimension);
}
this.terminalInstances.forEach((t) => {
t.layout(dimension);
});
}
public getActions(): IAction[] {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册