Browse Source

add red coloring for pause

main
fdai7184 2 years ago
parent
commit
d922d37547
  1. 3
      src/input.c

3
src/input.c

@ -51,7 +51,8 @@ void getInput(){
printf("quit"); printf("quit");
} }
else if(key=='p'){ else if(key=='p'){
printf("game paused, p to continue");
printf("\033[31mgame paused, p to continue");
printf("\033[0m");
pause(); pause();
printf("game continued"); printf("game continued");
} }

Loading…
Cancel
Save