Hierarchy

Implements

Constructors

Properties

active: boolean = false
cursor: number = 0
game: Game
line: string = ""
session: ISshSession
sshCommandManager: ISshCommandManager
stream: ISshStream

Methods

  • Check if Ctrl+C is allowed to close the shell

    Returns

    True if you want ctrl+c to close the shell

    Returns boolean

  • Returns void

  • Parameters

    • executor: (() => Promise<void>)
        • (): Promise<void>
        • Returns Promise<void>

    Returns Promise<void>

  • Returns void

  • Parameters

    • data: string

    Returns Promise<undefined | false | default>

  • Processes a line sent for the session

    Returns

    A shell to push a new action shell, false to exit the session, undefined to keep the active shell going

    Parameters

    • line: string

    Returns Promise<undefined | false | default>

  • Returns Promise<boolean>

  • Returns void

  • Parameters

    • data: string

    Returns void

  • Writes the marker

    Returns void

Generated using TypeDoc