This commit is contained in:
matishadow
2020-10-23 07:53:43 +02:00
parent 358d9f30d2
commit 2c59022b78
2 changed files with 10 additions and 10 deletions

View File

@@ -14,7 +14,7 @@ export class SearchPanelComponent {
notFound = false
options: SearchOptions = {
incremental: true,
...this.config.store.terminal.searchOptions
...this.config.store.terminal.searchOptions,
}
@Output() close = new EventEmitter()
@@ -50,10 +50,10 @@ export class SearchPanelComponent {
}
saveSearchOptions (): void {
this.config.store.terminal.searchOptions.regex = this.options.regex;
this.config.store.terminal.searchOptions.caseSensitive = this.options.caseSensitive;
this.config.store.terminal.searchOptions.wholeWord = this.options.wholeWord;
this.config.store.terminal.searchOptions.regex = this.options.regex
this.config.store.terminal.searchOptions.caseSensitive = this.options.caseSensitive
this.config.store.terminal.searchOptions.wholeWord = this.options.wholeWord
this.config.save();
this.config.save()
}
}

View File

@@ -69,8 +69,8 @@ export class TerminalConfigProvider extends ConfigProvider {
searchOptions: {
regex: false,
wholeWord: false,
caseSensitive: false
}
caseSensitive: false,
},
},
}