char* exit_msg = malloc(str_max_length * sizeof(char));
initscr();
+ if (has_colors() == false) {
+ endwin();
+ printf("Votre terminal ne supporte pas les couleurs.\n");
+ exit(EXIT_FAILURE);
+ }
+ start_color();
getmaxyx(stdscr, row, col);
noecho();
curs_set(0);