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());
}
@@ -12,8 +12,7 @@
"strict": true,
"types": [
"../../../node_modules/@types/mocha",
"../../../node_modules/@types/node",
"../../../out-test/api/TestUtils"
"../../../node_modules/@types/node"
]
},
"include": [