< index < 2. Console emulator < 2.1 Initializing the console |
===================================== |
C++ : static bool TCODConsole::isWindowClosed() C : bool TCOD_console_is_window_closed() Py : console_is_window_closed()When you start the program, this returns false. Once a "close window" event has been sent by the window manager, it will allways return true. You're supposed to exit cleanly the game.