From 0c5133987ab70b480d53a44345cab7de18165c17 Mon Sep 17 00:00:00 2001 From: VissaMoutafis Date: Sat, 22 Feb 2020 11:33:55 +0200 Subject: [PATCH] removed the cursor to make the UX a little better --- src/Graphics.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Graphics.cpp b/src/Graphics.cpp index 6c2ea8c..7df1b98 100644 --- a/src/Graphics.cpp +++ b/src/Graphics.cpp @@ -27,6 +27,7 @@ void initializeGraphics(void){ noecho(); //set input echo to false keypad(stdscr, TRUE); //this step enables the use of arrow keys and other function keys nodelay(stdscr, true); + curs_set(0); //to hide teh cursor //We must clear the screen from unecessary garbage clear(); //Print the title @@ -39,6 +40,7 @@ void initializeGraphics(void){ //Exit function void endGraphics(void){ + curs_set(1); destroyBox(); endwin(); }