diff options
| author | Frank Hamand <frankhamand@gmail.com> | 2025-08-04 17:07:25 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-04 15:07:25 +0000 |
| commit | 3cf4ff82a65e328fa80c561d594df6632572c698 (patch) | |
| tree | 5aa4d63bdec6568223b4a127d38d09e9fd345f59 /crates/atuin-server-database/src | |
| parent | fix: match logic of theme directory with settings directory, so ATUIN_CONFIG_... (diff) | |
| download | atuin-3cf4ff82a65e328fa80c561d594df6632572c698.zip | |
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>
Diffstat (limited to 'crates/atuin-server-database/src')
0 files changed, 0 insertions, 0 deletions
