charmbracelet / gum

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

gum choose does not center Yes and No in a centered manner like the previous gum versions #566

Closed D3vil0p3r closed 2 months ago

D3vil0p3r commented 5 months ago

Describe the bug In the previous gum version, gum confirm command placed the buttons Yes and Not in a centered manner with respect to the length of the prompt string. For example, I had:

image

By the latest version, I don't get it anymore but the choices are aligned to left:

image

aymanbagabas commented 2 months ago

Fixed in https://github.com/charmbracelet/huh/commit/24a367485f6b1d5941c9ac88a65bb41543ec5f34

meowgorithm commented 2 months ago

This is now on main and will be available in the next release.