Index

Type aliases

Variables

Type aliases

ArgumentsType

ArgumentsType<T>: ArgumentsType<T>

Type parameters

  • T

ft

ft: object

Type declaration

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

      Returns 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

Variables

Const CmdlineCmds

CmdlineCmds: object = new Proxy (functions as any, {get(target, property) {if (target[property]) {return (...args) => messageOwnTab("commandline_cmd", property as string, args)}return target[property]}}) as { [k in keyof ft]: (...args: ArgumentsType<ft[k]>) => Promise<ReturnType<ft[k]>> }

Type declaration

Const functions

functions: object = getCommandlineFns({} as any)

Type declaration

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

      Returns 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