Fork me on GitHub
  February 23, 2018, 04:52:41 am
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: curseui  (Read 2461 times)
benoqkuke
Newbie
*
Posts: 3


View Profile
« 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:
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.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!