tools: add tty helper module

with read_password() and stdin_isatty() functions

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller
2019-02-20 12:08:58 +01:00
parent 8cc0d6aff3
commit c9b296f117
2 changed files with 85 additions and 0 deletions

View File

@ -26,6 +26,7 @@ pub mod common_regex;
pub mod ticket;
pub mod borrow;
pub mod fs;
pub mod tty;
/// Macro to write error-handling blocks (like perl eval {})
///