code: def _create_more_application():
      """
      Create an `Application` instance that displays the "--MORE--".
      """
      from prompt_toolkit.shortcuts import create_prompt_application
  
      registry = Registry()
  
      @registry.add_binding(" ")
      @registry.add_binding("y")
      @registry.add_binding("Y")
      @registry.add_binding(Keys.ControlJ)
      @registry.add_binding(Keys.ControlI)  # Tab.
      def _(event):
          event.cli.set_return_value(True)
  
      @registry.add_binding("n")
      @registry.add_binding("N")
      @registry.add_binding("q")
      @registry.add_binding("Q")
      @registry.add_binding(Keys.ControlC)
      def _(event):
          event.cli.set_return_value(False)
  
      return create_prompt_application(
          "--MORE--",
          key_bindings_registry=registry,
          erase_when_done=True,
      )
  
file_path: catboost/contrib/python/prompt-toolkit/py2/prompt_toolkit/key_binding/bindings/completion.py
imports: from __future__ import unicode_literals
  from prompt_toolkit.completion import CompleteEvent, get_common_complete_suffix
  from prompt_toolkit.utils import get_cwidth
  from prompt_toolkit.keys import Keys
  from prompt_toolkit.key_binding.registry import Registry
  import math
label_desc: Use image node_id 4 for calling a global function with example usage: _create_more_application() and returns: create_prompt_application