__kbhit__
builtin · libnexusinterp/corefcn/sysdep-proprietary.cc
- :
c = __kbhit__ () ¶
- :
c = __kbhit__ (1) ¶
Read one key press from the keyboard.
Without an argument the call waits for a key. With an argument it
returns at once, giving the pending key or an empty string.