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

send_keys_batch

Preflight each row’s configured synchronized pane cohort independently, requiring every pane to be live and outside human-owned mode before its text or key and optional Enter. Send input to a pane’s program; a shell that receives it runs it with your user’s permissions.

All C++ tools · JSON · Source

Arguments

onError optional · string
Stop after the first failed operation or continue.
operations required · array
One to sixty-four ordered pane-input operations.

Schemas

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

Input schema
{
"additionalProperties": false,
"properties": {
"onError": {
"description": "Stop after the first failed operation or continue.",
"enum": [
"continue",
"stop"
],
"type": "string"
},
"operations": {
"description": "One to sixty-four ordered pane-input operations.",
"items": {
"additionalProperties": false,
"properties": {
"enter": {
"type": "boolean"
},
"keys": {
"maxLength": 4096,
"type": "string"
},
"literal": {
"type": "boolean"
},
"paneId": {
"maxLength": 512,
"type": "string"
}
},
"required": [
"paneId",
"keys"
],
"type": "object"
},
"maxItems": 64,
"minItems": 1,
"type": "array"
}
},
"required": [
"operations"
],
"type": "object"
}
Output schema
{
"additionalProperties": true,
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "Send a key sequence to a tmux pane"
}
Esc

Type to search.