xtd.console - Reference Guide  0.0.1
Modern c++17 library to manage terminal on Windows, macOS and Linux.

§ caps_lock()

template<class Char >
static bool xtd::basic_console< Char >::caps_lock ( )

Gets a value indicating whether the CAPS LOCK keyboard toggle is turned on or turned off.

true if CAPS LOCK is turned on; false if CAPS LOCK is turned off.