Aiden Cline 5 месяцев назад
Родитель
Сommit
a97612287f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/tui/internal/components/dialog/complete.go

+ 1 - 1
packages/tui/internal/components/dialog/complete.go

@@ -94,7 +94,7 @@ func (c *completionDialogComponent) getAllCompletions(query string) tea.Cmd {
 		}
 
 		// If there's a query, fuzzy-rank within each provider, then concatenate by provider order
-		if query != "" && providersWithResults > 0 {
+		if query != "" && providersWithResults > 1 {
 			t := theme.CurrentTheme()
 			baseStyle := styles.NewStyle().Background(t.BackgroundElement())