win.ExtractKeyEx

LuaFAR 3

win.ExtractKeyEx


result = win.ExtractKeyEx ()

Parameters:
  none

Returns:
  result: table tInputRecord, or nil

Description:
  If a key was pressed or released, the input record is returned.
  Otherwise, a nil is returned.

Windows API used:
  GetStdHandle, PeekConsoleInput, ReadConsoleInput