From dbc7ac43d17d15514b6c15108f2656b0d3469cfa Mon Sep 17 00:00:00 2001 From: ni-richard Date: Thu, 12 Sep 2019 15:03:11 +0200 Subject: [PATCH] Created terminal.write (markdown) --- terminal.write.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 terminal.write.md diff --git a/terminal.write.md b/terminal.write.md new file mode 100644 index 0000000..6dfeb3e --- /dev/null +++ b/terminal.write.md @@ -0,0 +1,24 @@ +* **Description**: Writes in the pseudo terminal that is connected with the frontend. It is really useful when you need to pre-type a command for the user. +* **Subscribers**: [TerminalHandler](https://github.com/avatao-content/baseimage-tutorial-framework/wiki/TerminalHandler) + +```json +{ + "key": "terminal.write", + "intent": "control", + "scope": "zmq" +} +``` + +| Parameter | Type | Required | Description | +| ------------ |:--------:|:------------------:| --------------------------- | +| *command* | `string` | :heavy_check_mark: | The command to be inserted. | + +*** + +**Example**: +```json +{ + "key": "terminal.write", + "command": "./a.out" +} +``` \ No newline at end of file