diff options
author | YO4 (Yoshinao Muramatsu) <ysno@ac.auone-net.jp> | 2021-02-20 00:48:46 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-02-20 00:50:57 +0900 |
commit | b94b7965c420661ed621c146a4efaf43bc3cf50b (patch) | |
tree | 48e3de612c1479fb8668e90b0141ec3c3267434e /ruby.c | |
parent | a319c048187bb32677730a6c6e5a1a0fce7fad36 (diff) |
Fixed fallback ENABLE_VIRTUAL_TERMINAL_PROCESSING value [Bug #17639]
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; |