Name
GetConsoleStyle -- get console style (V10.0)
Synopsis
style = GetConsoleStyle([cursor])
Platforms
Linux, macOS, Windows

Function
This function returns the style of the current console window. If the optional argument cursor is set to True, the style at the current cursor position will be returned. Otherwise the style for the current window will be returned.

The style return value will be a bitmask of style flags. See SetConsoleStyle for all available console styles.

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

Inputs
cursor
optional: True to get the style at the cursor position, False to get the style for the current window (defaults to False)
Results
style
style flags

Show TOC