Limit width in pool view to 100 characters
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
This commit is contained in:
parent
6d4f297097
commit
2ebd95977f
1 changed files with 1 additions and 1 deletions
|
|
@ -502,7 +502,7 @@ func formatOnePool(pool params.Pool) {
|
|||
|
||||
t.SetColumnConfigs([]table.ColumnConfig{
|
||||
{Number: 1, AutoMerge: true},
|
||||
{Number: 2, AutoMerge: true},
|
||||
{Number: 2, AutoMerge: true, WidthMax: 100},
|
||||
})
|
||||
fmt.Println(t.Render())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue