Registry / utility / termize

termize

JSON →
library0.2.1rscratesunverified

Functions for determining terminal sizes and dimensions.

# Cargo.toml [dependencies] termize = "0.2.1"
INSTALL
IMPORT
SIG · TERMIZE
T
termize
utilityrustv0.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.

dimensions
✓ use termize::dimensions;

Get the current terminal width and height.

use termize::dimensions; fn main() { if let Some((w, h)) = dimensions() { println!("Terminal size: {}x{}", w, h); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
16
Resources
termize — cargo add termize · libregistry