solarnetwork-api-core
    Preparing search index...

    Class SshTerminalSettings

    Settings for a SSH terminal.

    Implements

    Index

    Constructors

    • Constructor.

      Parameters

      • cols: number = 80

        the characters width

      • lines: number = 24

        the number of lines

      • width: number = 640

        the pixel width

      • height: number = 480

        the pixel height

      • type: string = "xterm"

        the terminal type

      • Optionalenvironment: any

        environment properties to pass to the shell

      Returns SshTerminalSettings

    Properties

    cols: number
    environment: Map<string, string>
    height: number
    lines: number
    type: string
    width: number

    Methods

    • Get this object in standard JSON form.

      An example result looks like this:

      {
      "cols": 80,
      "lines": 24,
      "width": 640,
      "height": 480,
      "type": "xterm"
      }

      Returns Record<string, any>

      an object, ready for JSON encoding