Crate passterm

source ·
Expand description

Terminal utilities

Use the read_password() function to read a line from stdin with echo disabled.

Use the isatty() function to check if the given stream is a tty.

Enums

Returned if there is an issue getting user input from STDIN or if echo could not be disabled.
Stream represents the Stdin, Stdout, and Stderr streams.

Functions

Returns true if the given stream is a tty
Read a password from STDIN. Does not include the newline.