Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
meganrogge committed Jan 12, 2022
1 parent 347f954 commit b560f60
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/vs/workbench/contrib/terminal/browser/terminalService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1104,7 +1104,12 @@ class TerminalEditorStyle extends Themable {
this._register(this._terminalService.onDidChangeInstanceIcon(() => this.updateStyles()));
this._register(this._terminalService.onDidChangeInstanceColor(() => this.updateStyles()));
this._register(this._terminalService.onDidCreateInstance(() => this.updateStyles()));
this._register(this._editorService.onDidActiveEditorChange(e => {
this._register(this._editorService.onDidActiveEditorChange(() => {
if (this._editorService.activeEditor instanceof TerminalEditorInput) {
this.updateStyles();
}
}));
this._register(this._editorService.onDidCloseEditor(() => {
if (this._editorService.activeEditor instanceof TerminalEditorInput) {
this.updateStyles();
}
Expand Down

0 comments on commit b560f60

Please sign in to comment.