class_docstr: Abstraction for any input.
  
  An instance of this class can be given to the constructor of a
  :class:`~prompt_toolkit.application.Application` and will also be
  passed to the :class:`~prompt_toolkit.eventloop.base.EventLoop`.
docstr: Flush the underlying parser. and return the pending keys.
  (Used for vt100 input.)
docstr_tok: ["Flush","the","underlying","parser",".","and","return","the","pending","keys",".","(","Used","for","vt100","input",".",")"]
code: def flush_keys(self) -> list[KeyPress]:
      """
      Flush the underlying parser. and return the pending keys.
      (Used for vt100 input.)
      """
      return []
  
imports: from __future__ import annotations
  from abc import ABCMeta, abstractmethod, abstractproperty
  from contextlib import contextmanager
  from typing import Callable, ContextManager, Generator
  from prompt_toolkit.key_binding import KeyPress
label_desc: Use image node_id 4 for calling the Input obj's underlying member method code with example usage: obj.flush_keys() and returns: list