Skip to content

Conversation

kalyncoose
Copy link

Changes

  • Adds Width() to HelpStyle to ensure the help text rendering does not exceed list's width

Testing Notes

  • Tested workaround with bubbles list by doing myList.Styles.HelpStyle = myList.Styles.HelpStyle.Width(48) which confirmed the help text as root cause for the behavior

re: discord help thread

Fixes #744

Adds Width() to HelpStyle to ensure the help text rendering does not exceed list's width causing behavior seen in bug charmbracelet#744
@kalyncoose kalyncoose requested a review from meowgorithm as a code owner March 26, 2025 09:50
@kalyncoose kalyncoose changed the title fix(list): Correct fix(list): Add Width to HelpStyle to fix incorrect list width behavior when filtering Mar 26, 2025
@kalyncoose kalyncoose changed the title fix(list): Add Width to HelpStyle to fix incorrect list width behavior when filtering fix(list): Add Width to HelpStyle to fix incorrect list width behavior when filtering Mar 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

List Width not respected

1 participant