class_docstr: Mutable class to hold the state of the Vi navigation.
class_docstr_tok: ["Mutable","class","to","hold","the","state","of","the","Vi","navigation","."]
docstr: Set `InputMode`.
docstr_tok: ["Set","`","InputMode","`","."]
code: def input_mode(self, value: InputMode) -> None:
      "Set `InputMode`."
      if value == InputMode.NAVIGATION:
          self.waiting_for_digraph = False
          self.operator_func = None
          self.operator_arg = None
  
      self.__input_mode = value
  
file_path: catboost/contrib/python/prompt-toolkit/py3/prompt_toolkit/key_binding/vi_state.py
imports: from __future__ import annotations
  from enum import Enum
  from typing import TYPE_CHECKING, Callable
  from prompt_toolkit.clipboard import ClipboardData
label_desc: Use image node_id 3 for calling the ViState obj's underlying member method code with example usage: obj.input_mode(value) without return types