|
From: <we...@cw...> - 2002-05-02 09:10:13
|
Quoting Jason Filby <jas...@ya...>: > Ok I just want to ask a question to clear things up: > > If you tell ReadConsoleA to only read 1 character, will it return > upon reading that one characer - even if it's in line mode? Or must > you press enter, even though you only asked for 1? > > getc() only returns one character, so reading in an entire line is > useless. > IIRC ReadConsole will return only when a complete line is available (in ENABLE_LINE_INPUT mode) but only as many characters as asked for will be returned. Any remaining characters will be buffered internally. |