InputEvent.Type

.

Values

ValueMeaning
KeyboardEvent

.

CharacterEvent

.

NonCharacterKeyEvent

.

PasteEvent

The user pasted some text. Not always available, the pasted text might come as a series of character events instead.

MouseEvent

only sent if you subscribed to mouse events

SizeChangedEvent

only sent if you subscribed to size events

UserInterruptionEvent

the user hit ctrl+c

EndOfFileEvent

stdin has received an end of file

HangupEvent

the terminal hanged up - for example, if the user closed a terminal emulator

CustomEvent

.

Meta