skx / cpmulator

Golang CP/M emulator for zork, Microsoft BASIC, Turbo Pascal, Wordstar, lighthouse-of-doom, etc
MIT License
98 stars 3 forks source link

Implement the ability to poll for pending input #117

Closed skx closed 2 months ago

skx commented 2 months ago

Some of the games I've been exploring really do need to know if console input is pending:

I think that's all we'll care about.

Use syscall.Select to do the necessary. Perhaps we just give up on Windows?