parent
cc39291fd9
commit
707af666fa
1 changed files with 5 additions and 0 deletions
|
@ -652,6 +652,11 @@ export class TerminalInstance extends Disposable implements ITerminalInstance {
|
|||
return this._attachToElement(container);
|
||||
}
|
||||
|
||||
// Update the theme when attaching as the terminal location could have changed
|
||||
if (this._xterm) {
|
||||
this._updateTheme(this._xterm);
|
||||
}
|
||||
|
||||
// The container changed, reattach
|
||||
this._detachWrapperElement();
|
||||
this._container = container;
|
||||
|
|
Loading…
Reference in a new issue