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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - benoqkuke

Pages: [1]
1
Plugins / 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.

Pages: [1]