Registry / utility / term
library1.2.1rscratesunverified

A terminal formatting library for colored output and cursor manipulation.

# Cargo.toml [dependencies] term = "1.2.1"
INSTALL
IMPORT
SIG · TERM
T
term
utilityrustv1.2.1
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.

stdout
✓ use term::stdout;

Prints red text to the terminal.

use term::stdout; fn main() { let mut t = stdout().unwrap(); t.fg(term::color::RED).unwrap(); writeln!(t, "Hello, world!").unwrap(); t.reset().unwrap(); }
Debug
Known issues
gotchaTerminal features may not work on all platforms (e.g., Windows without proper terminal emulation).
fix
Use a cross-platform terminal library like `crossterm` or `termion` if broader support is needed.
affects: >=1.0.0
Upgrade
Version history
1.2.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
12
Resources
term — cargo add term · libregistry