proc/list: use fixed-width columns instead of tabs

This commit is contained in:
Levi Neely 2026-08-13 22:28:33 +02:00
parent 0fed1aa124
commit dc26871bdc
1 changed files with 1 additions and 1 deletions

View File

@ -430,7 +430,7 @@ func (st *State) ListProcsForAgent(agentID string) string {
tool := p.Tool
cmd := p.Cmd
p.mu.Unlock()
fmt.Fprintf(&buf, "%d\t%s\t%s\t%s\n", pid, state, tool, cmd)
fmt.Fprintf(&buf, "%-6d %-12s %-16s %s\n", pid, state, tool, cmd)
}
return buf.String()
}