Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TCXL Database - kwgetch, kvgetch http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
KwGetCh, KvGetCh

Get a character from the keyboard, with echo.

Header File.....TCXLinp.h

Prototype.......ChrT CTYP KwGetCh(NOARG);
                ChrT CTYP KvGetCh(NOARG);

Source File.....INP\KWGETCH.C
                INP\KVGETCH.C

Arguments.......None.

Returns.........The ASCII value of the key pressed, or a zero if an error
                      occurred.  On error, TcxlErr contains:
                   W_NOACTIVE  -  No Active Window

Notes...........Gets a character from the keyboard.  Entered characters
                will be echoed to the active window using the current text
                attribute (See Appendix A), or to the Standard Output
                device.  Cursor position is updated.  Escape checking is
                provided by default, but can be turned off with the
                WsetEsc() function.

See Also: Appendix A

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson