pub fn detect() -> TermGraphicsExpand description
Probe the terminal for graphics support. Writes the query sequences to
/dev/tty, reads the response with a short deadline, and parses it. Falls
back to environment heuristics when the round-trip yields nothing. Pure
ASCII (no support) is represented by an all-false TermGraphics.