Fix Escape key to cancel autocomplete before interrupting agent
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user