Resolution probleme segfault lib ncurses