mirror of
https://github.com/andyk/ht.git
synced 2024-10-04 09:17:08 +03:00
Extend sendKeys command example
This commit is contained in:
parent
6af7336007
commit
6c99f737b6
@ -86,7 +86,8 @@ terminal as if the keys were pressed on a keyboard.
|
||||
|
||||
```json
|
||||
{ "type": "sendKeys", "keys": ["nano", "Enter"] }
|
||||
{ "type": "sendKeys", "keys": ["C-x", "n"] }
|
||||
{ "type": "sendKeys", "keys": ["hello", "Enter", "world"] }
|
||||
{ "type": "sendKeys", "keys": ["^x", "n"] }
|
||||
```
|
||||
|
||||
Each element of the `keys` array can be either a key name or an arbitrary text.
|
||||
|
Loading…
Reference in New Issue
Block a user