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

paste_text

Send input to a pane’s program; a shell that receives it runs it with your user’s permissions. Pastes literal text only to its target; optional Enter appends one newline to the same private buffer.

All Go tools · JSON · Source

Arguments

enter optional · boolean
append a newline that submits the text
pane_id required · string
the pane id, such as %1
text required · string
the literal text to paste

Schemas

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

Input schema
{
"additionalProperties": false,
"properties": {
"enter": {
"description": "append a newline that submits the text",
"type": "boolean"
},
"pane_id": {
"description": "the pane id, such as %1",
"type": "string"
},
"text": {
"description": "the literal text to paste",
"type": "string"
}
},
"required": [
"pane_id",
"text"
],
"type": "object"
}
Output schema
{
"additionalProperties": false,
"properties": {
"bytes": {
"type": "integer"
},
"pane_id": {
"type": "string"
}
},
"required": [
"pane_id",
"bytes"
],
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"openWorldHint": true,
"title": "Paste text"
}
Esc

Type to search.