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 display bug while setting up in table #16

Merged
merged 2 commits into from
Jan 2, 2024
Merged

Conversation

naddeoa
Copy link
Owner

@naddeoa naddeoa commented Jan 2, 2024

The table used to leave behind artifacts during the setup process. I think this happened because the table would grow and then shrink in height, leaving behind w/e was at the top most portion of the table. This change adds some dynamic padding to the table so it never shrinks in height, but also doesn't pre-reserve the max padding in case none of the targets cause the table to grow.

The table used to leave behind artifacts during the setup process. I
think this happened because the table would grow and then shrink in
height, leaving behind w/e was at the top most portion of the table.
This change adds some dynamic padding to the table so it never shrinks
in height, but also doesn't pre-reserve the max padding in case none of
the targets cause the table to grow.
Found out that the table automatically handles the terminal not being
wide enough. Looks better to not wrap any of the columns.
@naddeoa naddeoa merged commit 0604d4b into master Jan 2, 2024
1 check passed
@naddeoa naddeoa deleted the table-artifact-fix branch January 2, 2024 22:28
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