wezterm cli send-text
¶
Run wezterm cli send-text --help
to see more help
Send text to a pane as though it were pasted. If bracketed paste mode is enabled in the pane, then the text will be sent as a bracketed paste.
For example:
will cause hello there
to be sent to the input in the current pane.
You can also pipe text in via stdin:
The following arguments modify the behavior:
--no-paste
- Send the text directly, rather than as a bracketed paste. (Since: Version 20220624-141144-bd1b7c5d)--pane-id
- Specifies which pane to send the text to. See also Targeting Panes.
Synopsis¶
Send text to a pane as though it were pasted. If bracketed paste mode is enabled
in the pane, then the text will be sent as a bracketed paste
Usage: wezterm cli send-text [OPTIONS] [TEXT]
Arguments:
[TEXT] The text to send. If omitted, will read the text from stdin
Options:
--pane-id <PANE_ID> Specify the target pane. The default is to use the
current pane based on the environment variable
WEZTERM_PANE
--no-paste Send the text directly, rather than as a bracketed
paste
-h, --help Print help