Struct win32console::console::ConsoleMode [−][src]
pub struct ConsoleMode;
Expand description
Wraps constants values of the console modes.
link: https://docs.microsoft.com/en-us/windows/console/getconsolemode
Implementations
CTRL+C is processed by the system and is not placed in the input buffer.
If the input buffer is being read by ReadFile
or ReadConsole
,
other control keys are processed by the system and are not returned in the ReadFile
or ReadConsole
buffer
The ReadFile or ReadConsole function returns only when a carriage return character is read. If this mode is disabled, the functions return when one or more characters are available.
Characters read by the ReadFile
or ReadConsole
function are written to the active screen buffer as they are read.
This mode can be used only if the ENABLE_LINE_INPUT
mode is also enabled.
User interactions that change the size of the console screen buffer are reported in the console’s input buffer.
If the mouse pointer is within the borders of the console window and the window has the keyboard focus, mouse events generated by mouse movement and button presses are placed in the input buffer.
When enabled, text entered in a console window will be inserted at the current cursor location and all text following that location will not be overwritten. When disabled, all following text will be overwritten.
This flag enables the user to use the mouse to select and edit text.
Required to enable or disable extended flags. See ENABLE_INSERT_MODE
and ENABLE_QUICK_EDIT_MODE
.
link: https://docs.microsoft.com/en-us/windows/console/setconsolemode#parameters
Setting this flag directs the Virtual Terminal processing engine to convert user input received by the console window
into Console Virtual Terminal Sequences that can be retrieved by a supporting application
through ReadFile
or ReadConsole
functions.