diff options
author | NARUSE, Yui <[email protected]> | 2021-03-02 18:29:05 +0900 |
---|---|---|
committer | NARUSE, Yui <[email protected]> | 2021-03-02 18:29:05 +0900 |
commit | 3e67bfe202d6b410375af990ac806f15cb2df762 (patch) | |
tree | e62887f42f907bf01f9c8b91693ff502afed49c0 /ruby.c | |
parent | a6dec2e144d65011d49f272e494bf62daf3d7531 (diff) |
merge revision(s) b94b7965c420661ed621c146a4efaf43bc3cf50b: [Backport #17639]
Fixed fallback ENABLE_VIRTUAL_TERMINAL_PROCESSING value [Bug #17639]
---
ruby.c | 2 +-
win32/win32.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
Diffstat (limited to 'ruby.c')
-rw-r--r-- | ruby.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1657,7 +1657,7 @@ tty_enabled(void) DWORD m; if (!GetConsoleMode(h, &m)) return 0; # ifndef ENABLE_VIRTUAL_TERMINAL_PROCESSING -# define ENABLE_VIRTUAL_TERMINAL_PROCESSING 0x200 +# define ENABLE_VIRTUAL_TERMINAL_PROCESSING 0x4 # endif if (!(m & ENABLE_VIRTUAL_TERMINAL_PROCESSING)) return 0; return 1; |