Skip to content

fix(help): add ShortWhitespace style for spacing between key and description#1015

Open
hiro-nikaitou wants to merge 1 commit into
charmbracelet:mainfrom
hiro-nikaitou:fix/help-short-whitespace-style
Open

fix(help): add ShortWhitespace style for spacing between key and description#1015
hiro-nikaitou wants to merge 1 commit into
charmbracelet:mainfrom
hiro-nikaitou:fix/help-short-whitespace-style

Conversation

@hiro-nikaitou

Copy link
Copy Markdown

Add a new ShortWhitespace style field to the help component's Styles struct, allowing users to style the space between the key and description in ShortHelpView.

Previously, the space was an unstyled string literal, which could cause visual inconsistencies when a background color or other style effects were applied to the help bubble.

The default value is an empty style, preserving existing rendering behavior for backward compatibility.

Closes #571

…ription in ShortHelpView

Add a new ShortWhitespace style field to the Styles struct so users can
style the space between ShortKey and ShortDesc in ShortHelpView. The
default is an empty style, preserving existing rendering behavior.

Closes charmbracelet#571
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.

Lack of Style Options for Spaces Between Key and Description in Short Help View

1 participant