Registry / utility / prototty-input

prototty-input

JSON →
library0.29.0rscratesunverified

Normalized input type for prototty applications, handling keyboard and mouse events.

# Cargo.toml [dependencies] prototty_input = "0.29.0"
INSTALL
IMPORT
SIG · PROTOTTY-INPUT
P
prototty-input
utilityrustv0.29.0
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.

Input
use prototty_input::Input;

Handle normalized input events in a prototty application.

use prototty_input::Input; fn main() { let input = Input::Key('a'); match input { Input::Key(c) => println!("Key pressed: {}", c), _ => println!("Other input"), } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.29.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
prototty-input — cargo add prototty-input · libregistry