Index

Functions

Functions

getCommandlineFns

  • getCommandlineFns(cmdline_state: any): { accept_line: any; complete: any; copy_completion: any; deselect_completion: any; hide_and_clear: any; insert_completion: any; insert_space_or_completion: any; next_completion: any; next_history: any; prev_completion: any; prev_history: any }
  • Parameters

    • cmdline_state: any

    Returns { accept_line: any; complete: any; copy_completion: any; deselect_completion: any; hide_and_clear: any; insert_completion: any; insert_space_or_completion: any; next_completion: any; next_history: any; prev_completion: any; prev_history: any }

    • accept_line: function
      • accept_line(): Promise<any>
    • complete: function
      • complete(): Promise<any>
      • Insert the first command line history line that starts with the content of the command line in the command line.

        Returns Promise<any>

    • copy_completion: function
      • copy_completion(): Promise<any>
    • deselect_completion: function
      • deselect_completion(): void
    • hide_and_clear: function
      • hide_and_clear(): void
    • insert_completion: function
      • insert_completion(): Promise<any[]>
    • insert_space_or_completion: function
      • insert_space_or_completion(): any
      • If a completion is selected, inserts it in the command line with a space. If no completion is selected, inserts a space where the caret is.

        Returns any

    • next_completion: function
      • next_completion(): void
    • next_history: function
      • next_history(): any
    • prev_completion: function
      • prev_completion(): void
    • prev_history: function
      • prev_history(): any