class_docstr: Parser for VT100 input stream.
  
  Feed the data through the `feed` method and the correct callbacks of the
  `input_processor` will be called.
  
  ::
  
      def callback(key):
          pass
      i = InputStream(callback)
      i.feed('data...')
  
  :attr input_processor: :class:`~prompt_toolkit.key_binding.InputProcessor` instance.
docstr: Callback to handler.
docstr_tok: ["Callback","to","handler","."]
code: def _call_handler(self, key, insert_text):
      """
      Callback to handler.
      """
      if isinstance(key, tuple):
          for k in key:
              self._call_handler(k, insert_text)
      else:
          if key == Keys.BracketedPaste:
              self._in_bracketed_paste = True
              self._paste_buffer = ""
          else:
              self.feed_key_callback(KeyPress(key, insert_text))
  
imports: from __future__ import unicode_literals
  import os
  import re
  import six
  import termios
  import tty
  from six.moves import range
  from ..keys import Keys
  from ..key_binding.input_processor import KeyPress
label_desc: Use image node_id 6 for calling the InputStream obj's underlying member method code with example usage: obj._call_handler(key, insert_text) without return types