Files
atuin/crates
Frank Hamand 3cf4ff82a6 feat: highlight matches in interactive search (#2653)
* feat: highlight matches in interactive search

uses `norm` to do fzf-compatible matches when rendering history items
in the search panel to highlight the matching ranges of the item

this helps see _why_ certain history items have come up

note that this will never be 100% perfect as we search on a sqlite query
but it should be good enough in most cases

* fmt

* fix some clippy issues

* refactor to pass in a history_highlighter instead of search and engine

* improve the highlighting on the selected row

---------

Co-authored-by: Ellie Huxtable <ellie@atuin.sh>
2025-08-04 15:07:25 +00:00
..