calling std.stdio.getch returns a character from the keyboard when pressed.
calling std.stdio.getche only returns a character from the keyboard after the enter key is pressed.
Given the naming convention I was not expecting this.
Comment #1 by andrej.mitrovich — 2011-05-24T22:32:04Z
These symbols don't exist anymore. They were probably C functions anyway. RTFM! :)
Comment #2 by andrej.mitrovich — 2011-05-25T07:20:24Z
Fixing my closing mistakes. Sorry for the noise.
Comment #3 by lt.infiltrator — 2014-03-19T18:30:31Z
std.stdio.getch does not exist in the docs (dlang.org/phobos). Are these symbols hiding somewhere else now?
Comment #4 by andrej.mitrovich — 2014-03-20T01:12:16Z
(In reply to comment #3)
> std.stdio.getch does not exist in the docs (dlang.org/phobos). Are these
> symbols hiding somewhere else now?
It was in D1, however last I heard we agreed D1 phobos bugs should be closed, so I'm closing this.