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