Skip to content

Suggestion: use fzf for interactive selection #329

@pacien

Description

@pacien

Suggestion:

Khard displays some interacting prompt when a search query yields multiple
choices for example.

The current prompt has a bunch of UX issues, such as:

  • showing too many lines or columns, overflowing the terminal window,
  • relying on copying some numeric index manually,
  • not being searchable.

I think this prompt could instead leverage fzf, an interactive fuzzy finder
prompt (or a similar alternative). Some Python bindings exist.

It looks like this:
pyfzf demo

Related issues:

Someone worked on a wrapper script using fzf as the selection prompt some years
ago. Though I think it would be nicer to have it by default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions