def read_event(suppress=False):
queue = _queue.Queue(maxsize=<NUM_LIT:1>)<EOL>hooked = hook(queue.put, suppress=suppress)<EOL>while True:<EOL><INDENT>event = queue.get()<EOL>unhook(hooked)<EOL>return event<EOL><DEDENT>
Blocks until a keyboard event happens, then returns that event.