$ cons ->PeekInput
cons
Does exactly the same as Input , except that the event read is not removed from the input buffer.
Input
Copyright © 2001 O'Reilly & Associates. All rights reserved.