Hiding cursor in example

This commit is contained in:
Pranav Srinivas KumaR
2019-12-03 23:51:46 -06:00
parent 43702bdb4f
commit 94ee778cbd

View File

@@ -3,6 +3,9 @@
int main() {
// Hide cursor
std::cout << "\e[?25l";
//
// PROGRESS BAR 1
//
@@ -102,6 +105,9 @@ int main() {
thread3.join();
std::this_thread::sleep_for(std::chrono::milliseconds(5000));
// Show cursor
std::cout << "\e[?25h";
return 0;
}