code: def test_flush_1(processor, stream):
      # Send left key in two parts without flush.
      stream.feed("\x1b")
      stream.feed("[D")
  
      assert len(processor.keys) == 1
      assert processor.keys[0].key == Keys.Left
      assert processor.keys[0].data == "\x1b[D"
  
imports: from __future__ import annotations
  import pytest
  from prompt_toolkit.input.vt100_parser import Vt100Parser
  from prompt_toolkit.keys import Keys
label_desc: Use image node_id 7 for calling a global function with example usage: test_flush_1(processor, stream) without return types