Cleanup: get the definition of ENABLE_VIRTUAL_TERMINAL_PROCESSING from wincon.h.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira Hopwood 2021-04-06 16:41:28 +01:00
parent f52260253c
commit 2a26a9726c
1 changed files with 1 additions and 2 deletions

View File

@ -22,6 +22,7 @@
#include <string> #include <string>
#ifdef WIN32 #ifdef WIN32
#include <io.h> #include <io.h>
#include <wincon.h>
#else #else
#include <sys/ioctl.h> #include <sys/ioctl.h>
#endif #endif
@ -566,8 +567,6 @@ int printInitMessage()
} }
#ifdef WIN32 #ifdef WIN32
#define ENABLE_VIRTUAL_TERMINAL_PROCESSING 0x0004
bool enableVTMode() bool enableVTMode()
{ {
// Set output mode to handle virtual terminal sequences // Set output mode to handle virtual terminal sequences