Browse Source

removed the cursor to make the UX a little better

pull/1/head
VissaMoutafis 5 years ago
parent
commit
0c5133987a
  1. 2
      src/Graphics.cpp

2
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();
}

Loading…
Cancel
Save