summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-26 22:19:33 +0200
committerPaul Buetow <paul@buetow.org>2026-02-26 22:19:33 +0200
commit21e713c3006d1295cbc68cecef90b54659fc1720 (patch)
treef57d28841a26f4caf81527935e9ba1e3b0f674be /internal
parent0110c0568f7737c44db5f0134c376a978b5159b9 (diff)
more on this
Diffstat (limited to 'internal')
-rw-r--r--internal/tui/dashboard/layout.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/tui/dashboard/layout.go b/internal/tui/dashboard/layout.go
index 75cbafb..0035a9d 100644
--- a/internal/tui/dashboard/layout.go
+++ b/internal/tui/dashboard/layout.go
@@ -4,3 +4,7 @@ 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