Files
textual/docs/events/key.md
2022-09-24 17:04:00 +01:00

493 B

Key

The Key event is sent to a widget when the user presses a key on the keyboard.

  • Bubbles
  • Verbose

Attributes

attribute type purpose
key str Name of the key that was pressed.
char str or None The character that was pressed, or None it isn't printable.