mirror of
https://github.com/ratatui/ratatui.git
synced 2025-09-29 22:11:34 +00:00

Also cleans up the list example significantly (see also <https://github.com/ratatui-org/ratatui/issues/1157>) Fixes: <https://github.com/ratatui-org/ratatui/pull/1159> BREAKING CHANGE: The `List` widget now clamps the selected index to the bounds of the list when navigating with `first`, `last`, `previous`, and `next`, as well as when setting the index directly with `select`.