Description
At the moment, if you use glamour.WithWordWrap(terminalWidth), tables will aim to occupy the full width of your terminal.
If you do not want this, you can set glamour.WithWordWrap(0), however this makes glamour unaware of your terminal's width, so it picks what looks like 120 as the maximum.
Is it possible to support specifying a table layout where they only take up the space they need, up to the specified wrap width (and only them start wrapping or truncating).
This is mainly to make output look nicer when you have a very wide terminal.
Description
At the moment, if you use
glamour.WithWordWrap(terminalWidth), tables will aim to occupy the full width of your terminal.If you do not want this, you can set
glamour.WithWordWrap(0), however this makes glamour unaware of your terminal's width, so it picks what looks like 120 as the maximum.Is it possible to support specifying a table layout where they only take up the space they need, up to the specified wrap width (and only them start wrapping or truncating).
This is mainly to make output look nicer when you have a very wide terminal.