Function read_line_secure

Source
pub async fn read_line_secure(
    console: &mut dyn Console,
    prompt: &str,
) -> Result<String>
Expand description

Reads a line from the console without echo using the given prompt.

The console must be interactive for this to work, as otherwise we do not have a mechanism to suppress echo.