Skip to main content

secret_prompt

Function secret_prompt 

Source
pub(crate) fn secret_prompt(rows: &[String]) -> Option<String>
Expand description

Is the terminal’s last line asking for a password, passphrase, code or token? The line must end like a prompt (a colon or a question mark) and name one, so a path or a project called token-service doesn’t count. Echo is usually off at such a prompt, so the person types there anyway (spec §4.3).