1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-11-24 06:04:04 +03:00
This commit is contained in:
Eugene Pankov 2019-12-01 19:11:05 +01:00
parent 471f9effcf
commit 0f8cff2d5b
2 changed files with 4 additions and 2 deletions

View File

@ -26,8 +26,8 @@ export class SearchPanelComponent {
this.findNext(true)
}
findNext (incremental? = false) {
if (!this.frontend.findNext(this.query, { ...this.options, incremental })) {
findNext (incremental = false) {
if (!this.frontend.findNext(this.query, { ...this.options, incremental: incremental || undefined })) {
this.notFound = true
this.toastr.error('Not found')
}

View File

@ -113,6 +113,8 @@ export class XTermFrontend extends Frontend {
}
attach (host: HTMLElement): void {
this.configure()
this.xterm.open(host)
this.opened = true