pane:send_paste(text)
¶
Since: Version 20220624-141144-bd1b7c5d
The functionality described in this section requires version 20220624-141144-bd1b7c5d of wezterm, or a more recent version.
Sends the supplied text
string to the input of the pane as if it
were pasted from the clipboard, except that the clipboard is not involved.
Newlines are rewritten according to the
canonicalize_pasted_newlines
setting.
If the terminal attached to the pane is set to bracketed paste mode then the text will be sent as a bracketed paste, and newlines will not be rewritten.