class_docstr: Vt100 input for Posix systems.
  (This uses a posix file descriptor that can be registered in the event loop.)
docstr: Return a context manager that makes this input active in the current
  event loop.
docstr_tok: ["Return","a","context","manager","that","makes","this","input","active","in","the","current","event","loop","."]
code: def attach(
      self, input_ready_callback: Callable[[], None]
  ) -> ContextManager[None]:
      """
      Return a context manager that makes this input active in the current
      event loop.
      """
      return _attached_input(self, input_ready_callback)
  
imports: from __future__ import annotations
  import sys
  import contextlib
  import io
  import termios
  import tty
  from asyncio import AbstractEventLoop, get_running_loop
  from typing import Callable, ContextManager, Generator, TextIO
  from ..key_binding import KeyPress
  from .base import Input
  from .posix_utils import PosixStdinReader
  from .vt100_parser import Vt100Parser
label_desc: Use image node_id 2 for calling the Vt100Input obj's underlying member method code with example usage: obj.attach(input_ready_callback) and returns: _attached_input