compose top: reduce tabwriter padding

Signed-off-by: Dominik Menke <dom@digineo.de>
This commit is contained in:
Dominik Menke 2024-12-17 17:45:04 +01:00 committed by Nicolas De loof
parent 80e8fda14f
commit 62e832eb50
2 changed files with 16 additions and 16 deletions

View File

@ -124,7 +124,7 @@ func topPrint(out io.Writer, headers topHeader, rows []topEntries) error {
return nil
}
w := tabwriter.NewWriter(out, 5, 1, 3, ' ', 0)
w := tabwriter.NewWriter(out, 4, 1, 2, ' ', 0)
// write headers in the order we've encountered them
h := make([]string, len(headers))