Input doesn't work on bash for Windows
Tried compiling and running the demos through the newly released bash on Ubuntu on Windows; compilation and running the demos worked fine, but input doesn't work. Seemingly holding down ctrl C + Q for a few seconds does trigger an exit on the keyboard demo, but it's not immediate.
I'm wondering what the problem is, and where in the code I might begin trying to fix it. I had a brief look at the event polling functions, but without any concrete idea what might be causing the issue I wasn't sure how to proceed. Any ideas?
No idea, how do you run ubuntu on windows? Some virtual machine?
Ah, no, the new Linux subsystem that shipped in the latest Windows 10 update. https://blogs.msdn.microsoft.com/wsl/2016/07/08/bash-on-ubuntu-on-windows-10-anniversary-update/
Oh I see, I keep autoupdating disabled on my windows 10 machine, have no idea when I have a chance to try it out. Don't know what it's doing and how.
Maybe you can ditch C and try https://github.com/nsf/termbox-go instead. It has native windows port. If that's an option.
I've used the Go version in the past, it is really good and I will surely use it again. Quite intrigued to see if I can debug this through the bash on Windows though, so will post if I figure anything out. Thanks for your responses anyway :)