Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

send_keys_batch

Send input to a pane’s program; a shell that receives it runs it with your user’s permissions. Sends up to sixty-four key sequences in order, rechecking before each one which panes synchronize-panes links to its target.

All Go tools · JSON · Source

Arguments

on_error optional · string
stop or continue; defaults to stop
operations required · null | array
up to sixty-four ordered pane-input operations

Schemas

The schema defines required fields, nested values, defaults, and validation constraints.

Input schema
{
"additionalProperties": false,
"properties": {
"on_error": {
"description": "stop or continue; defaults to stop",
"enum": [
"stop",
"continue"
],
"type": "string"
},
"operations": {
"description": "up to sixty-four ordered pane-input operations",
"items": {
"additionalProperties": false,
"properties": {
"enter": {
"type": "boolean"
},
"keys": {
"items": {
"type": "string"
},
"type": [
"null",
"array"
]
},
"literal": {
"type": "boolean"
},
"pane_id": {
"type": "string"
}
},
"required": [
"pane_id",
"keys"
],
"type": "object"
},
"type": [
"null",
"array"
]
}
},
"required": [
"operations"
],
"type": "object"
}
Output schema
{
"additionalProperties": false,
"properties": {
"completed": {
"type": "integer"
},
"failed": {
"type": "integer"
},
"results": {
"items": {
"additionalProperties": false,
"properties": {
"error": {
"type": "string"
},
"pane_id": {
"type": "string"
},
"resolved_pane_ids": {
"items": {
"type": "string"
},
"type": [
"array"
]
},
"sent": {
"type": "integer"
}
},
"required": [
"pane_id",
"resolved_pane_ids",
"sent"
],
"type": "object"
},
"type": [
"array"
]
}
},
"required": [
"results",
"completed"
],
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"openWorldHint": true,
"title": "Send keys in a batch"
}
Esc

Type to search.