| Name | Type | Description |
|---|---|---|
sequence* | str | Raw escape sequence to write, including leading |
Best-effort write of a terminal control sequence.
Prefers /dev/tty so the sequence reaches the terminal even when stdout
or stderr are redirected. Falls back to sys.__stderr__ only if it is a
TTY.
Returns False (no-op) when output is disabled or no TTY is reachable.