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

capture_since

Read pane output; accepts no client-supplied executable input. Returned content may be sensitive or untrusted. Read only what a pane has printed since the last call. Pass back the cursor each time. Use this to watch a long-running process across turns: the tenth read costs what the first did, where re-capturing the pane would return everything again. Call with no cursor to start watching from now.

All .NET tools · JSON · Source

Arguments

cursor optional · string | null
The opaque cursor returned by the previous call.

Default: null.

maxLines optional · integer | null
Maximum returned lines.

Default: null.

paneId optional · string | null
A pane id. Omit for the active pane.

Default: null.

Schemas

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

Input schema
{
"additionalProperties": false,
"properties": {
"cursor": {
"default": null,
"description": "The opaque cursor returned by the previous call.",
"type": [
"string",
"null"
]
},
"maxLines": {
"default": null,
"description": "Maximum returned lines.",
"maximum": 2147483647,
"minimum": -2147483648,
"type": [
"integer",
"null"
]
},
"paneId": {
"default": null,
"description": "A pane id. Omit for the active pane.",
"type": [
"string",
"null"
]
}
},
"type": "object"
}
Output schema
{
"properties": {
"anchorLost": {
"type": "boolean"
},
"content": {
"properties": {
"droppedBytes": {
"type": "integer"
},
"droppedLines": {
"type": "integer"
},
"lines": {
"items": {
"type": "string"
},
"type": "array"
},
"truncated": {
"type": "boolean"
}
},
"required": [
"lines",
"truncated",
"droppedLines",
"droppedBytes"
],
"type": "object"
},
"cursor": {
"type": "string"
},
"linesMissed": {
"type": "boolean"
},
"paneId": {
"type": "string"
}
},
"required": [
"paneId",
"content",
"cursor",
"linesMissed",
"anchorLost"
],
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "Capture since"
}
Esc

Type to search.