tui-rs icon indicating copy to clipboard operation
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?

Open ducaale opened this issue 4 years ago • 2 comments

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.

ducaale avatar Jun 23 '20 23:06 ducaale

Not at the moment but that should be fairly simple to implement as a customization option on List.

fdehau avatar Jun 28 '20 13:06 fdehau

Also tables (ref https://github.com/sayanarijit/xplr/issues/54).

sayanarijit avatar Apr 12 '21 14:04 sayanarijit