From da5aa7d7a8972a67c242656996294eadf6f9209b Mon Sep 17 00:00:00 2001 From: "Avi Halachmi (:avih)" Date: Sun, 12 May 2024 10:51:20 +0300 Subject: [PATCH] win32: wincon.h: support more console mode flags Mainly VT modes (win 10+), quick-edit, insert. --- win32/include/winapi/wincon.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/win32/include/winapi/wincon.h b/win32/include/winapi/wincon.h index a3501ee7..2a5fda4a 100644 --- a/win32/include/winapi/wincon.h +++ b/win32/include/winapi/wincon.h @@ -167,9 +167,16 @@ extern "C" { #define ENABLE_ECHO_INPUT 0x4 #define ENABLE_WINDOW_INPUT 0x8 #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_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 #define PeekConsoleInput PeekConsoleInputW -- 2.11.4.GIT