module
Obsctl::TUI::DashboardLayout
Extended Modules
Defined in:
obsctl/tui/layout.crConstant Summary
-
LOGS_MIN_WIDTH =
40 -
STATS_WIDTH =
40 -
The stats pane takes a fixed column rather than a share of the logs row: log lines want every column they can get, and stream health is the same handful of short rows however wide the terminal is. The wider column is used when the row can spare it, because it is what lets the panel print frame totals and the FPS sparkline instead of bare counts.
-
WIDE_STATS_WIDTH =
48
Instance Method Summary
-
#compute(area : CryTUI::Rect, stats_pane : Bool = false) : LayoutAreas
stats_paneis requested by the caller rather than derived here so the layout stays a pure function of the area.
Instance Method Detail
stats_pane is requested by the caller rather than derived here so the
layout stays a pure function of the area. It is honoured only when the
logs row can spare the column.