Commit c8069af6 authored by Hugh McMaster's avatar Hugh McMaster Committed by Alexandre Julliard

kernel32: Enabling/disabling Insert Mode via the user dialog should take effect immediately.

parent 1a0c4efb
......@@ -987,6 +987,10 @@ WCHAR* CONSOLE_Readline(HANDLE hConsoleIn, BOOL can_pos_cursor)
}
}
GetConsoleMode(hConsoleIn, &mode);
ctx.insert = (mode & (ENABLE_INSERT_MODE|ENABLE_EXTENDED_FLAGS)) ==
(ENABLE_INSERT_MODE|ENABLE_EXTENDED_FLAGS);
if (func)
(func)(&ctx);
else if (!(ir.Event.KeyEvent.dwControlKeyState & LEFT_ALT_PRESSED))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment