Import std.term.console
ReadPassword
function
Public Function ReadPassword(prompt: String = ""): String?
Writes the prompt, then reads a line typed at the console without showing it, as for a
password, up to ENTER. BACKSPACE takes back the last character, and Ctrl+U the whole line. Null
once the input has ended, or for Ctrl+D on an empty line, as Input gives at the end.
Examples
Local password = ReadPassword("Password: ")
If password != Null Then Print("{password.Length} characters")Report an issue with this page or with FutureBlitz on GitHub.