From f6ef905577342925b623efcf1c396550c96340ea Mon Sep 17 00:00:00 2001 From: ksrichard Date: Wed, 21 Apr 2021 11:12:04 +0200 Subject: [PATCH] cancellable search at add command --- util/cli.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/util/cli.go b/util/cli.go index 4658ecd..ecf5b42 100644 --- a/util/cli.go +++ b/util/cli.go @@ -70,7 +70,6 @@ func AutoCompleteInput(title string, searchAgainStr string, cancelStr string, re } if res != nil && len(res) == 0 { fmt.Printf("No library found for search query '%s'!\n", query) - continue } for k, v := range res { items[k] = v @@ -89,4 +88,4 @@ func AutoCompleteInput(title string, searchAgainStr string, cancelStr string, re } return selectedOption, nil -} \ No newline at end of file +}