getche() from Mars
Bob W
nospam at aol.com
Mon Feb 27 06:28:13 PST 2006
Wrong forum, I know.
But I have tried to use getche() in D and it
wasn't doing what I've expected. So I tried it
in dmc - same thing.
Gcc, v++ and myself tend to think that getche()
should wait for one character from stdin, which is
echoed and returned.
The dmc/dmd handling of getche() is that it takes
an entire string until EOL is encountered. The first
character of the string is returned and the rest of
it including CR and LF is buffered and is annoying
my subsequent getch() functions.
?????
More information about the Digitalmars-d
mailing list