summaryrefslogtreecommitdiff
path: root/internal/tui/dashboard/layout.go
blob: 0035a9d9f9de4f96814a9b46b7bc0c20b044bef4 (plain)
1
2
3
4
5
6
7
8
9
10
package dashboard

const panelHorizontalChrome = 4

// Keep a small guard so sparkline rows never soft-wrap in panel cells.
const sparklineSafetyMargin = 3

// Stats engine currently provides 120 time-series slots; cap rendering width
// so wide terminals don't introduce wrap/placement artifacts.
const sparklineMaxWidth = 120