On Windows 10, version 1909, build 18363.657, grep color highlighting doesn't work in the new console.
I'm not sure why SetConsoleTextAttribute isn't working, but it appears that ENABLE_VIRTUAL_TERMINAL_PROCESSING would allow escape sequences to work (which would also make grep-lock.patch unnecessary). See:
grep 3.7 color highlighting works on Win10 21H1. I might have been confused - I forgot that set_distro_paths.bat runs doskey grep=grep --color=auto $*.
On Windows 10, version 1909, build 18363.657, grep color highlighting doesn't work in the new console.
I'm not sure why
SetConsoleTextAttribute
isn't working, but it appears thatENABLE_VIRTUAL_TERMINAL_PROCESSING
would allow escape sequences to work (which would also makegrep-lock.patch
unnecessary). See: