xcall MIAMEX, MX_GETFKW, waitms
(UNIX only) MX_GETFKW retrieves the current FKEYWAIT (function key sequence completion wait) value for this terminal. waitms (Num) will receive the wait time, in milliseconds.