charmbracelet / charmbracelet/bubbles

[Feature Request] - Table Autosize based on terminal size

Open
#592 0 comments 5 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
8.9k
Forks
457
Avg merge
1d 18h
Merged PRs (30d)
5

Description

**Is your feature request related to a problem? Please describe.**
Would be nice to have a properly size table based on terminal size

**Describe the solution you'd like**
Autosize options based on the terminal size with correct padding

something along these line
Table.WithAutoSize() - bool
Table.Row.WIthAutoSize() - bool
Tables.Column.WithAutoSize() - bool

**Describe alternatives you've considered**
Manually trying to calculate the terminal size, and trying to figure out padding to make it look right

**Additional context**
Add any other context or screenshots about the feature request here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.