Back to Wezterm

`wezterm cli send-text`

docs/cli/cli/send-text.md

latest836 B
Original Source

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:

$ wezterm cli send-text "hello there"

will cause hello there to be sent to the input in the current pane.

You can also pipe text in via stdin:

$ echo hello there | wezterm cli send-text

The following arguments modify the behavior:

  • --no-paste - Send the text directly, rather than as a bracketed paste. {{since('20220624-141144-bd1b7c5d', inline=True)}}
  • --pane-id - Specifies which pane to send the text to. See also Targeting Panes.

Synopsis

console
{% include "../../examples/cmd-synopsis-wezterm-cli-send-text--help.txt" %}