예제 #1
0
 /**
  * Application class destructor
  *
  * @return void
  */
 public function __destruct()
 {
     // Reset terminal settings & end ncurses
     if ($this->initialized) {
         ncurses_resetty();
         ncurses_end();
     }
 }
예제 #2
0
 public function __destruct()
 {
     ncurses_end();
     ncurses_resetty();
 }