Name
GetConsoleChr -- get console character (V10.0)
Synopsis
ch = GetConsoleChr()
Platforms
Linux, macOS, Windows

Function
This function gets the character at the current cursor position and returns it. Note that the character can also be a special character composed by the MakeConsoleChr() function. To decompose such characters into their constituents, you can call the DecomposeConsoleChr() function. See DecomposeConsoleChr for details.

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

Inputs
none

Results
ch
character at current cursor position

Show TOC