mirror of
https://github.com/ratatui/ratatui.git
synced 2025-10-02 07:21:24 +00:00

Allow styling for `List`'s highlight symbol This change makes it so anything that implements `Into<Line>` can be used as a highlight symbol. BREAKING CHANGE: `List::highlight_symbol` can no longer be used in const context BREAKING CHANGE: `List::highlight_symbol` accepted `&str`. Conversion methods that rely on type inference will need to be rewritten as the compiler cannot infer the type. closes: https://github.com/ratatui/ratatui/issues/1443 --------- Co-authored-by: Josh McKinney <joshka@users.noreply.github.com>