fix(tui): maint tab min widths fit 80-column terminals
CI / test (pull_request) Successful in 2m49s
CI / lint (pull_request) Failing after 1m12s
CI / vulncheck (pull_request) Successful in 56s

Reduce minimums so fixedMin=51 (was 71). At narrow: compact headers (ST, MON).
At wide: full headers (STATUS, MONITORS, STARTED) with expanded widths.
This commit is contained in:
2026-05-28 15:31:01 -04:00
parent 251c723fbd
commit d9dcd58b66
+5 -5
View File
@@ -99,12 +99,12 @@ func (m Model) viewMaintTab() string {
cols := []colDef{
{"#", "#", 4, 4, false},
{"TITLE", "TITLE", 12, 28, true},
{"TITLE", "TITLE", 10, 28, true},
{"TYPE", "TYPE", 13, 14, false},
{"MON", "MONITORS", 15, 22, false},
{"STATUS", "STATUS", 11, 12, false},
{"START", "STARTED", 14, 16, false},
{"ENDS", "ENDS", 14, 16, false},
{"MON", "MONITORS", 10, 22, false},
{"ST", "STATUS", 8, 12, false},
{"START", "STARTED", 8, 16, false},
{"ENDS", "ENDS", 8, 16, false},
}
headers, widths := m.computeTableLayout(cols, 0)
titleW := widths[1]