... I wonder if it works if you use the new Windows Terminal, and I wonder if it would work on the older thing if we used the SetConsoleMode() flag it mentions.
In order to make it work both things are needed, setting the console mode and a terminal that supports it. Please find attached a patch for so.