win32: wincon.h: support more console mode flags

Mainly VT modes (win 10+), quick-edit, insert.
This commit is contained in:
Avi Halachmi (:avih) 2024-05-12 10:51:20 +03:00
parent 0aca861194
commit da5aa7d7a8

View File

@ -167,9 +167,16 @@ extern "C" {
#define ENABLE_ECHO_INPUT 0x4 #define ENABLE_ECHO_INPUT 0x4
#define ENABLE_WINDOW_INPUT 0x8 #define ENABLE_WINDOW_INPUT 0x8
#define ENABLE_MOUSE_INPUT 0x10 #define ENABLE_MOUSE_INPUT 0x10
#define ENABLE_INSERT_MODE 0x20
#define ENABLE_QUICK_EDIT_MODE 0x40
#define ENABLE_EXTENDED_FLAGS 0x80
#define ENABLE_VIRTUAL_TERMINAL_INPUT 0x200
#define ENABLE_PROCESSED_OUTPUT 0x1 #define ENABLE_PROCESSED_OUTPUT 0x1
#define ENABLE_WRAP_AT_EOL_OUTPUT 0x2 #define ENABLE_WRAP_AT_EOL_OUTPUT 0x2
#define ENABLE_VIRTUAL_TERMINAL_PROCESSING 0x4
#define DISABLE_NEWLINE_AUTO_RETURN 0x8
#define ENABLE_LVB_GRID_WORLDWIDE 0x10
#ifdef UNICODE #ifdef UNICODE
#define PeekConsoleInput PeekConsoleInputW #define PeekConsoleInput PeekConsoleInputW