Name
GetConsoleControlChr -- get a standard control character (V10.0)
Synopsis
ch = GetConsoleControlChr(ctrl)
Library
console

Platforms
Linux, macOS, Windows

Function
This function returns the character code of a standard console control character. The following control characters are currently supported and can be passed in the ctrl parameter:

#CONSOLECHR_KILL:
Returns the KILL character.

#CONSOLECHR_ERASE:
Returns the ERASE character.

#CONSOLECHR_WORD:
Returns the DELETEWORD character.

You must enable advanced console mode using EnableAdvancedConsole() before you can use this function. See EnableAdvancedConsole for details.

Inputs
ctrl
control character to get; must be one from the list above
Results
ch
the requested control character in the format of the current terminal

Show TOC