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

fix: improve table width calculation #37

Merged
merged 2 commits into from
Oct 30, 2024
Merged

Conversation

mdonnalley
Copy link
Contributor

  • We were double counting the padding when calculating the table width. This prevented the table from taking up the entire width of the terminal
  • Reduce column width down to 3 + padding * 2 if reducing down to header.length + padding * 2 doesn't reduce the table enough to fit in the terminal

@mdonnalley mdonnalley added the bug Something isn't working label Oct 30, 2024
Copy link

git2gus bot commented Oct 30, 2024

This issue has been linked to a new work item: W-17103023

@mdonnalley mdonnalley merged commit 27d2b20 into main Oct 30, 2024
11 checks passed
@mdonnalley mdonnalley deleted the mdonnalley/table-width branch October 30, 2024 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants