tui-rs
tui-rs copied to clipboard
Is there a way to set the amount of rows that is kept above or below the selected item in a list?
This was requested before in https://github.com/fdehau/tui-rs/issues/96#issue-385685503
Additionally, I'd love to have support for a scroll offset. That is, a set amount of rows that is kept above or below the selected row, i.e. the list starts scrolling X rows before you hit the top/bottom. One reason is that this allows you to see whether there are still more rows to come even without a scrollbar.
Not at the moment but that should be fairly simple to implement as a customization option on List
.
Also tables (ref https://github.com/sayanarijit/xplr/issues/54).