pub fn term_size() -> Option<(usize, usize)>Expand description
Terminal (rows, cols) from stty size. None when not a tty or the probe
fails — redraw then skips clipping (safe: non-tty can’t wrap).
Deliberately UNcached: the watch loop re-queries every refresh so resizing
mid-run switches between the full and compact dashboards live.