We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa35079 commit e7edc73Copy full SHA for e7edc73
Core/Sources/Service/SuggestionCommandHandler/WindowBaseCommandHandler.swift
@@ -158,6 +158,14 @@ struct WindowBaseCommandHandler: SuggestionCommandHanlder {
158
}
159
160
func generateRealtimeSuggestions(editor: EditorContent) async throws -> UpdatedContent? {
161
- try await presentSuggestions(editor: editor)
+ await GraphicalUserInterfaceController.shared.realtimeSuggestionIndicatorController
162
+ .triggerPrefetchAnimation()
163
+ defer {
164
+ Task {
165
166
+ .endPrefetchAnimation()
167
+ }
168
169
+ return try await presentSuggestions(editor: editor)
170
171
0 commit comments