Skip to content

Commit

Permalink
bugfix: Fixed the bug of selecting version for searching (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chance-fyi authored Mar 5, 2024
1 parent 2af1303 commit c816d36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/printer/select.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ func (s *PageKVSelect) Show() (*KV, error) {
area.Update(s.renderSelect())
}
case keys.Enter:
s.result = s.options[s.index]
s.result = s.fuzzySearchMatches[s.index]
return true, nil
default:
return false, nil
Expand Down

0 comments on commit c816d36

Please sign in to comment.