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

§ cursor_visible() [1/2]

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

Gets a value indicating whether the cursor is visible.

true if the cursor is visible; otherwise, false.
This example demonstrates the cursor_visible property. The example makes the cursor visible if the first column of input is a '+' character or invisible if the input is a '-' character.