Shows how to use xtd::console::cursor_visible property.
#include <xtd/console>
auto main()->int {
auto m1 = "\nThe cursor is {0}.\nType any text then press Enter. "
"Type '+' in the first column to show \n"
"the cursor, '-' to hide the cursor, "
"or lowercase 'x' to quit:"_s;
while (true) {
break;
}
}
}