chore(tui): visual polish — detail sections, column headers, alert detail #37
@@ -360,8 +360,9 @@ func (m Model) computeLayout() tableLayout {
|
|||||||
{"RT", "RETRIES", 5, 9},
|
{"RT", "RETRIES", 5, 9},
|
||||||
}
|
}
|
||||||
|
|
||||||
overhead := 30
|
numCols := len(cols)
|
||||||
usable := m.termWidth - chromePadH - 2 - overhead
|
borderOverhead := 2 + (numCols - 1) // left + right border + column separators
|
||||||
|
usable := m.termWidth - chromePadH - 2 - borderOverhead
|
||||||
if usable < 80 {
|
if usable < 80 {
|
||||||
usable = 80
|
usable = 80
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user