update search results onBufferContentsChange (#3811)

This commit is contained in:
Megan Rogge
2022-05-17 10:00:55 -07:00
committed by GitHub
parent de5df69333
commit a5f2ea336e
14 changed files with 33 additions and 12 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ export class SearchAddon implements ITerminalAddon {
public activate(terminal: Terminal): void {
this._terminal = terminal;
this._onDataDisposable = this._terminal.onData(() => this._updateMatches());
this._onDataDisposable = this._terminal.onWriteParsed(() => this._updateMatches());
this._onResizeDisposable = this._terminal.onResize(() => this._updateMatches());
}