Open Chissanu opened 1 month ago
I noticed the same thing, and it looks like it's hard-coded to be centered: https://github.com/charmbracelet/huh/blob/main/field_confirm.go#L271
Seems like adding a property to override the alignment via a new function called something like withAlginment()
would be fairly easy update to the package? 🙏 🙏
This is also happening when the title is long, even if there is no description set.
The work around I did was to put title and description for NewConfirm into NewNote and have NewConfirm to only store the values with no title and description.
Describe the bug When creating a confirm button that has long description, the button would shift to right depends on the length of description
To Reproduce Steps to reproduce the behavior:
Expected behavior The confirm buttons are at the left side
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):