History

win32: wincon.h: support more console mode flags

Mainly VT modes (win 10+), quick-edit, insert.

Avi Halachmi (:avih) committed 2 years ago

Commit da5aa7d1 parent 0aca8611 file · +7 −0Browse files

Unified · Split

win32/include/winapi/wincon.h+7−0
@@ -167,9 +167,16 @@ extern "C" { · 166 unmodified lines
167167 #define ENABLE_ECHO_INPUT 0x4
168168 #define ENABLE_WINDOW_INPUT 0x8
169169 #define ENABLE_MOUSE_INPUT 0x10
170+#define ENABLE_INSERT_MODE 0x20
171+#define ENABLE_QUICK_EDIT_MODE 0x40
172+#define ENABLE_EXTENDED_FLAGS 0x80
173+#define ENABLE_VIRTUAL_TERMINAL_INPUT 0x200
170174
171175 #define ENABLE_PROCESSED_OUTPUT 0x1
172176 #define ENABLE_WRAP_AT_EOL_OUTPUT 0x2
177+#define ENABLE_VIRTUAL_TERMINAL_PROCESSING 0x4
178+#define DISABLE_NEWLINE_AUTO_RETURN 0x8
179+#define ENABLE_LVB_GRID_WORLDWIDE 0x10
173180
174181 #ifdef UNICODE
175182 #define PeekConsoleInput PeekConsoleInputW

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t