input-terminal
    Preparing search index...

    Class TermOutput

    Manages the terminal's output rendering. Automatically subscribes to stdout/stderr events and renders them to a DOM element.

    Index

    Constructors

    Accessors

    Methods

    Constructors

    Accessors

    • get element(): HTMLElement

      Get the element that output is rendered to.

      Returns HTMLElement

    • get attached(): boolean

      Get whether the output is attached to the terminal.

      Returns boolean

    Methods

    • Subscribe to stdout/stderr events from the terminal.

      Returns void

    • Unsubscribe from stdout/stderr events.

      Returns void

    • Clear the output element's contents.

      Returns void