For$
<!-- begin site header -->
<div id=

Author Topic: curseui  (Read 4923 times)

benoqkuke

  • Newbie
  • *
  • Posts: 3
    • View Profile
curseui
« on: April 02, 2011, 05:54:07 am »
Hi,

I changed the end function so now the terminal do not crash at the end. Here is my new end function:
Code: [Select]
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.