--- a/sources/main.cpp Thu Jul 23 01:52:04 2015 +0300 +++ b/sources/main.cpp Thu Jul 23 02:15:21 2015 +0300 @@ -46,7 +46,10 @@ int main (int argc, char* argv[]) { #ifdef _WIN32 +# ifdef HAVE_PDCURSES_WIN32A + // PDCurses-win32a uses a GUI window of its own so we need to destroy the console window. FreeConsole(); +# endif WSADATA wsaData; int result = WSAStartup (MAKEWORD (2, 2), &wsaData);