Rationalise and optimize autocomplete. Closes #3149

This commit is contained in:
kaidaguerre
2023-02-24 15:31:47 +00:00
committed by GitHub
parent d98df11198
commit 718718d053
4 changed files with 94 additions and 112 deletions

View File

@@ -60,7 +60,7 @@ func (c *InteractiveClient) handleInitResult(ctx context.Context, initResult *db
c.initialiseSuggestions()
// tell the workspace to reset the prompt after displaying async filewatcher messages
c.initData.Workspace.SetOnFileWatcherEventMessages(func() {
c.initialiseSuggestions()
c.initialiseQuerySuggestions()
c.interactivePrompt.Render()
})