Libuv:TTY
lastmod 2026-11-10created 2017-01-012 edits
The TTY handle (uv_tty_t) in libuv is the facility for handling terminal I/O as a stream. It opens standard input and output as a TTY for asynchronous reading and writing, supports switching to raw mode and querying the window size, and abstracts away the differences between the Windows console and Unix terminals. It is used when building command-line tools or REPLs on top of libuv.