Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow configuring alignment when max columns is hit #475

Merged
merged 1 commit into from
Mar 3, 2025

Conversation

mfontanini
Copy link
Owner

This introduces a new defaults.max_columns_alignment that can have values left, center, and right. This works along with max_columns and allows specifying how to align the presentation if the terminal size is greater than it. Before this change, this would behave like max_columns_alignment: center does now so that's the default if not set.

e.g. setting this to left will cause look like this on a wide terminal:

image

@mfontanini mfontanini force-pushed the feat/max-columns-alignment branch from fa61ac2 to 24e6ea8 Compare March 3, 2025 13:32
@mfontanini mfontanini merged commit 0419cf3 into master Mar 3, 2025
4 checks passed
@mfontanini mfontanini deleted the feat/max-columns-alignment branch March 3, 2025 13:35
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.

1 participant