mirror of
https://github.com/vale981/tridactyl
synced 2025-03-05 17:41:40 -05:00
Fix undo and rssexec auto-selection
This commit is contained in:
parent
ddd574787e
commit
5a90d08dce
2 changed files with 8 additions and 0 deletions
|
@ -36,6 +36,10 @@ export class RssCompletionSource extends Completions.CompletionSourceFuse {
|
|||
this._parent.appendChild(this.node)
|
||||
}
|
||||
|
||||
setStateFromScore(scoredOpts: Completions.ScoredOption[]) {
|
||||
super.setStateFromScore(scoredOpts, this.shouldSetStateFromScore)
|
||||
}
|
||||
|
||||
onInput(...whatever) {
|
||||
return this.updateOptions(...whatever)
|
||||
}
|
||||
|
|
|
@ -82,6 +82,10 @@ export class SessionsCompletionSource extends Completions.CompletionSourceFuse {
|
|||
return this.updateOptions(exstr)
|
||||
}
|
||||
|
||||
setStateFromScore(scoredOpts: Completions.ScoredOption[]) {
|
||||
super.setStateFromScore(scoredOpts, this.shouldSetStateFromScore)
|
||||
}
|
||||
|
||||
private async updateOptions(exstr = "") {
|
||||
this.lastExstr = exstr
|
||||
const [prefix] = this.splitOnPrefix(exstr)
|
||||
|
|
Loading…
Add table
Reference in a new issue