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
@@ -82,7 +82,7 @@ export class OverviewRulerRenderer extends Disposable {
* and hide the canvas if the alt buffer is active
*/
private _registerBufferChangeListeners(): void {
this.register(this._renderService.onRenderedBufferChange(() => this._queueRefresh()));
this.register(this._renderService.onRenderedViewportChange(() => this._queueRefresh()));
this.register(this._bufferService.buffers.onBufferActivate(() => {
this._canvas!.style.display = this._bufferService.buffer === this._bufferService.buffers.alt ? 'none' : 'block';
}));