Registry / cli / termion

termion

JSON →
library4.0.6rscratesunverified

A bindless library for manipulating terminals, providing raw mode, color, and cursor control.

# Cargo.toml [dependencies] termion = "4.0.6"
INSTALL
IMPORT
SIG · TERMION
T
termion
clirustv4.0.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

IntoRawMode
use termion::raw::IntoRawMode;

Minimal example enabling raw mode and writing to the terminal.

use std::io::{Write, stdout}; use termion::raw::IntoRawMode; fn main() { let mut stdout = stdout().into_raw_mode().unwrap(); write!(stdout, "Hello, terminal!").unwrap(); stdout.flush().unwrap(); }
Debug
Known issues
gotchaTermion is Unix-only and does not support Windows.
fix
Use a cross-platform alternative like `crossterm` or `ratatui` for Windows compatibility.
affects: >=0.0.0
Upgrade
Version history
4.0.6latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
30 hits · last 30 days
node
28
Resources
termion — cargo add termion · libregistry