charmbracelet / gum

A tool for glamorous shell scripts 🎀
MIT License
17.94k stars 339 forks source link

`choose` pagination has no indicators or prev/next since 0.14 #584

Open joshbeard opened 4 months ago

joshbeard commented 4 months ago

Describe the bug gum choose does not properly paginate since 0.14.

To Reproduce

Run gum choose with a list of several items beyond its height

gum choose {0..9}

gum choose --height=6 {0..9}

Expected behavior Like versions before 0.14.0, a pagination indicator should be visible or optionally visible and left/right navigation should paginate.

Screenshots

Desktop (please complete the following information):