Okay, but what function can I use to get the pressed key?
kbhit/_kbhit seems to do what I want, but hwo can I use it in D? I
always get the error, that kbhit (or similar functions) are not
available.
import std.stdio;
import std.c.stdlib;
import std.c.windows.windows;
void main(string[] args) {
kbhit();
_kbhit();
}