Skip to main content

Module protocol

Module protocol 

Source
Expand description

JSON protocol types for communication between the terminal and script subprocesses.

Scripts read ScriptEvent objects from stdin (one JSON object per line) and write ScriptCommand objects to stdout (one JSON object per line).

Structs§

ScriptEvent
An event sent from the terminal to a script subprocess (via stdin).

Enums§

ScriptCommand
A command sent from a script subprocess to the terminal (via stdout).
ScriptEventData
Event-specific payload data.