When I run msys2.exe and launch a Python program, nothing gets printed to the terminal unless either enough text is printed such that the buffer automatically flushes, or if I run sys.stdout.flush()
.
In order to fix this, I have to launch msys2 with msys2_shell.cmd -defterm
.
Defterm works fine in all ways, except for that it's really ugly. So, I'm hoping that there's a way to fix the mintty terminal such that it does not buffer output from my programs.