flawz
flawz copied to clipboard
Highlight search results
Is your feature request related to a problem? Please describe.
While searching, it would be visually nice to see the found results being highlighted in the list.
For example:
Describe the solution you'd like
This needs some reading on displaying text docs but I'm thinking we can simply change the colors of Span
s somehow.
Describe alternatives you've considered
None.
Additional context
See https://ratatui.rs/how-to/render/display-text and https://github.com/orhun/flawz/blob/32fb9ac656092404bad931c0e2e59438191ea0ab/src/main.rs#L73-L85