Fix Escape key to cancel autocomplete before interrupting agent

This commit is contained in:
Mario Zechner 2025-11-11 20:29:38 +01:00
parent dc1e2f928b
commit 97e00fc45d
2 changed files with 7 additions and 2 deletions

View file

@ -749,6 +749,10 @@ export class Editor implements Component {
this.autocompletePrefix = "";
}
public isShowingAutocomplete(): boolean {
return this.isAutocompleting;
}
private updateAutocomplete(): void {
if (!this.isAutocompleting || !this.autocompleteProvider) return;