Skip to content

add support for reflowing tables#374

Open
aberigle wants to merge 2 commits intomikaelbr:masterfrom
aberigle:reflow-tables
Open

add support for reflowing tables#374
aberigle wants to merge 2 commits intomikaelbr:masterfrom
aberigle:reflow-tables

Conversation

@aberigle
Copy link

@aberigle aberigle commented Dec 6, 2025

This PR adds support for reflowing tables when the reflowText flag is enabled.

When reflowText is active, the table rendering logic will now distribute the content of the columns equitably while respecting the configured maximum terminal width.

I considered adding a custom flag specifically for table reflow. However, I've chosen to use the existing reflowText flag because when enabling it I would expect all content, including tables, to be "reflowed" to fit the available space.

If you feel a dedicated flag is necessary for clearer separation of concerns, I would be happy to update the PR!

Thanks!

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