Hi,
I changed the end function so now the terminal do not crash at the end. Here is my new end function:
void CursesScreen::end()
{
// Kill our windows
destroyWindow(playerWin);
destroyWindow(chatWin);
destroyWindow(logWin);
destroyWindow(titleWin);
destroyWindow(commandWin);
// Stop NCurses
endwin();
}
The terminal is not cleared at the end but does not crash anymore !
I'm trying to clear properly the terminal, I'll post my solution if it proper enough.