rusty_bubbletea/tty_windows.rs
1//! Cleanroom Rust port of upstream Go source file: `tty_windows.go`
2//! Upstream Target Tag / Version: `v2.0.8`
3//!
4//! <public-docs>
5//! # TTY (Windows)
6//!
7//! Windows VT console mode handle and raw mode initialization.
8//! </public-docs>
9
10/// Windows TTY initialization check.
11pub fn is_windows_tty() -> bool {
12 cfg!(target_os = "windows")
13}