class_docstr: Statemachine that receives :class:`KeyPress` instances and according to the
  key bindings in the given :class:`KeyBindings`, calls the matching handlers.
  
  ::
  
      p = KeyProcessor(key_bindings)
  
      # Send keys into the processor.
      p.feed(KeyPress(Keys.ControlX, ''))
      p.feed(KeyPress(Keys.ControlC, '')
  
      # Process all the keys in the queue.
      p.process_keys()
  
      # Now the ControlX-ControlC callback will be called if this sequence is
      # registered in the key bindings.
  
  :param key_bindings: `KeyBindingsBase` instance.
docstr: If we're in Vi temporary navigation (normal) mode, return to
  insert/replace mode after executing one action.
docstr_tok: ["If","we","'re","in","Vi","temporary","navigation","(","normal",")","mode",",","return","to","insert\/replace","mode","after","executing","one","action","."]
code: def _leave_vi_temp_navigation_mode(
      self, event: KeyPressEvent
  ) -> None:
      """
      If we're in Vi temporary navigation (normal) mode, return to
      insert/replace mode after executing one action.
      """
      app = event.app
  
      if app.editing_mode == EditingMode.VI:
          # Not waiting for a text object and no argument has been given.
          if app.vi_state.operator_func is None and self.arg is None:
              app.vi_state.temporary_navigation_mode = False
  
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 12 for calling the KeyProcessor obj's underlying member method code with example usage: obj._leave_vi_temp_navigation_mode(event) without return types