Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Upcoming Release (TBD)
Features
--------
* Added explicit error handle to get_password_from_file with EAFP.
* Use the "history" scheme for fzf searches.

Internal
--------
Expand Down
2 changes: 1 addition & 1 deletion mycli/packages/toolkit/fzf.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def search_history(event: KeyPressEvent):
formatted_history_items.append(f"{timestamp} {formatted_item}")
original_history_items.append(item)

result = fzf.prompt(formatted_history_items, fzf_options="--tiebreak=index")
result = fzf.prompt(formatted_history_items, fzf_options="--scheme=history --tiebreak=index")

if result:
selected_index = formatted_history_items.index(result[0])
Expand Down