Skip to content

Latest commit

 

History

History
210 lines (126 loc) · 4.98 KB

File-std-console-ml-1875579671.md

File metadata and controls

210 lines (126 loc) · 4.98 KB

std/console.ml

Home · Files

Provides the std console package.

Package: std.console

Reachable from entry: no

Declarations

CONSOLE_ERR

const CONSOLE_ERR = 262

Track the console err value used by this standard-library module.

Source: std/console.ml:15

CP_UTF8

const CP_UTF8 = 65001

Track the cp utf8 value used by this standard-library module.

Source: std/console.ml:27

disableQuickEdit

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

ENABLE_ECHO_INPUT

const ENABLE_ECHO_INPUT = 4

Track the enable echo input value used by this standard-library module.

Source: std/console.ml:21

ENABLE_EXTENDED_FLAGS

const ENABLE_EXTENDED_FLAGS = 128

Track the enable extended flags value used by this standard-library module.

Source: std/console.ml:25

ENABLE_QUICK_EDIT_MODE

const ENABLE_QUICK_EDIT_MODE = 64

Track the enable quick edit mode value used by this standard-library module.

Source: std/console.ml:23

isInteractive

function isInteractive()

Reports whether is interactive.

Source: std/console.ml:117

MAX_SECRET_UTF16_UNITS

const MAX_SECRET_UTF16_UNITS = 4096

Track the max secret utf16 units value used by this standard-library module.

Source: std/console.ml:31

readPassword

function readPassword(prompt)

Returns read password.

Parameter Type Default Description
prompt dynamic — Value supplied for prompt.

Source: std/console.ml:211

readSecret

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

readSecretConfirmed

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

STD_INPUT_HANDLE

const STD_INPUT_HANDLE = -10

Track the std input handle value used by this standard-library module.

Source: std/console.ml:17

STD_OUTPUT_HANDLE

const STD_OUTPUT_HANDLE = -11

Track the std output handle value used by this standard-library module.

Source: std/console.ml:19

WC_ERR_INVALID_CHARS

const WC_ERR_INVALID_CHARS = 128

Track the wc err invalid chars value used by this standard-library module.

Source: std/console.ml:29

wipe

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