Provides the std console package.
Package: std.console
Reachable from entry: no
const CONSOLE_ERR = 262Track the console err value used by this standard-library module.
Source: std/console.ml:15
const CP_UTF8 = 65001Track the cp utf8 value used by this standard-library module.
Source: std/console.ml:27
function disableQuickEdit()Prevent Windows QuickEdit from suspending a server process. Other targets have no equivalent mode and report success without changing terminal state.
Source: std/console.ml:129
const ENABLE_ECHO_INPUT = 4Track the enable echo input value used by this standard-library module.
Source: std/console.ml:21
const ENABLE_EXTENDED_FLAGS = 128Track the enable extended flags value used by this standard-library module.
Source: std/console.ml:25
const ENABLE_QUICK_EDIT_MODE = 64Track the enable quick edit mode value used by this standard-library module.
Source: std/console.ml:23
function isInteractive()Reports whether is interactive.
Source: std/console.ml:117
const MAX_SECRET_UTF16_UNITS = 4096Track the max secret utf16 units value used by this standard-library module.
Source: std/console.ml:31
function readPassword(prompt)Returns read password.
| Parameter | Type | Default | Description |
|---|---|---|---|
prompt |
dynamic |
— | Value supplied for prompt. |
Source: std/console.ml:211
function readSecret(prompt, maximumBytes)Returns read secret.
| Parameter | Type | Default | Description |
|---|---|---|---|
prompt |
dynamic |
— | Value supplied for prompt. |
maximumBytes |
dynamic |
— | Value supplied for maximumBytes. |
Source: std/console.ml:145
function readSecretConfirmed(prompt, confirmationPrompt, maximumBytes)Returns read secret confirmed.
| Parameter | Type | Default | Description |
|---|---|---|---|
prompt |
dynamic |
— | Value supplied for prompt. |
confirmationPrompt |
dynamic |
— | Value supplied for confirmationPrompt. |
maximumBytes |
dynamic |
— | Value supplied for maximumBytes. |
Source: std/console.ml:219
const STD_INPUT_HANDLE = -10Track the std input handle value used by this standard-library module.
Source: std/console.ml:17
const STD_OUTPUT_HANDLE = -11Track the std output handle value used by this standard-library module.
Source: std/console.ml:19
const WC_ERR_INVALID_CHARS = 128Track the wc err invalid chars value used by this standard-library module.
Source: std/console.ml:29
function wipe(buffer)Provide the wipe operation for this standard-library module.
| Parameter | Type | Default | Description |
|---|---|---|---|
buffer |
dynamic |
— | Buffer to process. |
Source: std/console.ml:53