1 Repo
Mechanisms to detect if an output stream is a TTY and supports interactive control sequences.
Distinct from TTY Attribute Synchronizations: None of the candidates focus on the detection of TTY status for interactive vs plain text output.
Explore 1 awesome GitHub repository matching operating systems & systems programming · TTY Detection. Refine with filters or upvote what's useful.
Crossterm is a cross-platform Rust library for terminal manipulation, providing a low-level interface for controlling terminal state, cursor movement, and text styling. It acts as a cross-platform TTY interface that handles raw mode, alternate screen buffers, and terminal window metadata across different operating systems. The library includes an ANSI text styling engine for applying RGB colors and text attributes to console output, as well as a terminal input event handler for capturing keyboard presses, mouse movements, and terminal resize events in real time. It also provides system clipbo
Checks if the output stream is a terminal to decide between interactive features and plain text fallback.