refactor: replace tabwriter with a Table for consistent table rendering across commands

This commit is contained in:
Pasha Sviderski
2026-03-30 14:32:37 +10:00
parent e22cdf0b18
commit 636307d3ea
7 changed files with 62 additions and 79 deletions
+1 -1
View File
@@ -206,7 +206,7 @@ func formatContainerTree(containers []api.ServiceContainer) string {
// Add containers as children.
for _, ctr := range ctrs {
state, _ := ctr.HumanState()
info := fmt.Sprintf("%s • %s • %s", ctr.Name, ctr.Config.Image, state)
info := fmt.Sprintf("%s • %s • %s", ctr.Name, tui.FormatImage(ctr.Config.Image, tui.NoStyle), state)
t.Child(info)
}