Skip to content

Commit

Permalink
Merge pull request #178093 from microsoft/merogge/active
Browse files Browse the repository at this point in the history
get accessible buffer to dynamically update
  • Loading branch information
meganrogge authored Mar 23, 2023
2 parents e28df0c + eda9090 commit da4e7a2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export class AccessibleBufferWidget extends DisposableStore {
}
}));
this.add(this._xterm.raw.onWriteParsed(async () => {
if (this._focusedContextKey.get()) {
if (this._accessibleBuffer.classList.contains(CssClass.Active)) {
await this._updateEditor(true);
}
}));
Expand Down

0 comments on commit da4e7a2

Please sign in to comment.