class_docstr: :param key: A `Keys` instance or text (one character).
  :param data: The received string on stdin. (Often vt100 escape codes.)
code: def __repr__(self) -> str:
      return f"{self.__class__.__name__}(key={self.key!r}, data={self.data!r})"
  
imports: from __future__ import annotations
  import weakref
  from asyncio import Task, sleep
  from collections import deque
  from typing import TYPE_CHECKING, Any, Generator
  from prompt_toolkit.application.current import get_app
  from prompt_toolkit.enums import EditingMode
  from prompt_toolkit.filters.app import vi_navigation_mode
  from prompt_toolkit.keys import Keys
  from prompt_toolkit.utils import Event
  from .key_bindings import Binding, KeyBindingsBase
label_desc: Use image node_id 2 for calling the KeyPress obj's underlying member method code with example usage: obj.__repr__() and returns: self, str, self, str, self, str