c++ hide cursor code example
Example: c++ hide cursor
void set_cursor(bool visible){
CONSOLE_CURSOR_INFO info;
info.dwSize = 100;
info.bVisible = visible;
SetConsoleCursorInfo(GetStdHandle(STD_OUTPUT_HANDLE), &info);
}
void set_cursor(bool visible){
CONSOLE_CURSOR_INFO info;
info.dwSize = 100;
info.bVisible = visible;
SetConsoleCursorInfo(GetStdHandle(STD_OUTPUT_HANDLE), &info);
}