petereon / beaupy

A Python library of interactive CLI elements you have been looking for
https://petereon.github.io/beaupy/
MIT License
181 stars 13 forks source link

Pagination: cannot get it to work #73

Closed A-nglea closed 9 months ago

A-nglea commented 9 months ago

videos = select_multiple(beaupylist, ticked_indices=index, minimal_count=1, page_size=20, pagination=True)

Seems to have no effect with beaupylist containing 110 items. The cursor appears to scroll over them but disappears off the page. I can even select from off the page but am unable to see it. There are ellipses ... at the page bottom but I cannot get the page to scroll. I'm sure its 'operator error' what am I missing?

petereon commented 9 months ago

I'll try to reproduce

petereon commented 9 months ago

Can't reproduce with beaupy==3.5.4, what version of beaupy are you using (pip show beaupy)?

Bugs like this were present beaupy<3.5.4,>=3.5.0.

A-nglea commented 9 months ago

Have beaupy 3.5.4 Using Fedora Linux python 3.11.4

A-nglea commented 9 months ago

Working now. Operator error!

petereon commented 9 months ago

@A-nglea, thanks for closing. If this is a library-specific limitation please do share more details, as I am unaware.