Skip to content

Commit

Permalink
cancellable search at add command
Browse files Browse the repository at this point in the history
  • Loading branch information
ksrichard committed Apr 21, 2021
1 parent 3e61742 commit f6ef905
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions util/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -89,4 +88,4 @@ func AutoCompleteInput(title string, searchAgainStr string, cancelStr string, re
}

return selectedOption, nil
}
}

0 comments on commit f6ef905

Please sign in to comment.