This commit is contained in:
Eugene Pankov 2023-06-14 23:34:05 +02:00
parent 1e9f5ca1dc
commit 4d83848e8d
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4

View File

@ -260,7 +260,7 @@ export class XTermFrontend extends Frontend {
this.xterm.loadAddon(this.search)
this.search.onDidChangeResults(state => {
this.searchState = state ?? { resultCount: 0 }
this.searchState = state
})
window.addEventListener('resize', this.resizeHandler)