Index

Classes

Variables

Functions

Variables

modeState

modeState: GobbleState = undefined

Functions

init

  • init(numChars: number, endCommand: string): void
  • Init gobble mode. After parsing the defined number of input keys, execute endCmd with attached parsed input. Escape cancels the mode and returns to normal mode.

    Parameters

    • numChars: number
    • endCommand: string

    Returns void

parser

reset

  • reset(): void