PyConsoleScreenBuffer.PeekConsoleInput

(PyINPUT_RECORD,...) = PeekConsoleInput(Length)

Returns pending input records without removing them from the input queue

Parameters

Length : int

The number of input records to read

Comments

This function does not block as ReadConsoleInput does.
The number of records returned may be less than the nbr requested

Return Value

Returns a sequence of PyINPUT_RECORD objects