kernel32/tests: Allow ENABLE_VIRTUAL_TERMINAL_PROCESSING in default mode.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
5d96c5aac8
commit
129149d212
|
@ -3972,6 +3972,7 @@ static void test_pseudo_console_child(HANDLE input, HANDLE output)
|
||||||
|
|
||||||
ret = GetConsoleMode(output, &mode);
|
ret = GetConsoleMode(output, &mode);
|
||||||
ok(ret, "GetConsoleMode failed: %u\n", GetLastError());
|
ok(ret, "GetConsoleMode failed: %u\n", GetLastError());
|
||||||
|
mode &= ~ENABLE_VIRTUAL_TERMINAL_PROCESSING;
|
||||||
ok(mode == (ENABLE_PROCESSED_OUTPUT | ENABLE_WRAP_AT_EOL_OUTPUT), "mode = %x\n", mode);
|
ok(mode == (ENABLE_PROCESSED_OUTPUT | ENABLE_WRAP_AT_EOL_OUTPUT), "mode = %x\n", mode);
|
||||||
|
|
||||||
ret = SetConsoleMode(output, mode & ~ENABLE_WRAP_AT_EOL_OUTPUT);
|
ret = SetConsoleMode(output, mode & ~ENABLE_WRAP_AT_EOL_OUTPUT);
|
||||||
|
|
Loading…
Reference in New Issue