diff --git a/src/ui/suggestionManager.ts b/src/ui/suggestionManager.ts index 74c5d38..9a0dfcc 100644 --- a/src/ui/suggestionManager.ts +++ b/src/ui/suggestionManager.ts @@ -158,6 +158,10 @@ export class SuggestionManager { update(keyPress: KeyPress): boolean { const { name } = keyPress; + if (!this.#suggestBlob) { + return false; + } + if (name == "escape") { this.#suggestBlob = undefined; } else if (name == "up") {