Get single keystroke?

Andrej Mitrovic andrej.mitrovich at gmail.com
Mon Mar 21 14:37:42 PDT 2011


Replace that writefln with this:

writefln("Key hit was %s.", cast(char)getch());

You should get the right key displayed then.


More information about the Digitalmars-d-learn mailing list