[][src]Function term_basics_linux::input_field_hidden

pub fn input_field_hidden(ch: char) -> String

Lets the user type text. It returns the string after the user presses 'enter'. It supports all functions input_field() supports. It hides the typed in text byt subsituting it for a character of your choice.

Example

let password = tbl::input_field_hidden('*'); //Hide the users password as it is typed in!
tbl::println_style(password, tbl::TextStyle::Bold); // THAN PRINT IT OUT