* Improve documentation of pane:paste vs pane:send_paste * docs: remove ambiguity in documentation of pane:paste and pane:send_paste Since 20221119-145034-49b9839f, `paste` has been an alias of `send_paste`, but this was not documented. I went commit-reading to find this out, so went ahead and fixed the docs to show this. Signed-off-by: Ross Williams <ross@ross-williams.net> * Apply suggestions from code review --------- Signed-off-by: Ross Williams <ross@ross-williams.net> Co-authored-by: Wez Furlong <wez@wezfurlong.org>
487 B
487 B
pane:send_paste(text)
{{since('20220624-141144-bd1b7c5d')}}
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.