GitHub

UserInput

API reference for UserInput.

One key press: the character it typed (None for an escape sequence such as an arrow key) and the key.

Attributes

AttributeTypeDescription
inputstr | None
keyKey

Functions

__init__

__init__(input, key) -> None
ParameterTypeDescription
inputstr | None
keyKey