pub fn terminal_cell_size_px() -> (usize, usize)Expand description
Returns the terminal cell size in pixels as (width, height) via TIOCGWINSZ.
Falls back to a 10×20 cell — the conventional default — when the terminal does not report pixel dimensions (tmux, many terminals, and any non-TTY stdout).