On this page
libtmux.Pane.paste_buffer
- Module
- libtmux
- Declared in
- Pane
- Package
- libtmux
- Source
- src/libtmux/pane.py
-
Paste a buffer into the pane via
$ tmux paste-buffer.Examples
>>> server.set_buffer('pasted_text') >>> pane.paste_buffer()- Parameters
-
-
buffer_name ( str | None ) – Name of the buffer to paste (
-bflag). -
delete_after ( bool | None ) – Delete the buffer after pasting (
-dflag). -
linefeed_separator ( bool | None ) – Use newline as the line separator instead of carriage return (
-rflag). -
bracket ( bool | None ) – Use bracketed paste mode (
-pflag). -
separator ( str | None ) – Separator between lines (
-sflag). -
no_vis ( bool | None ) – Paste the buffer's raw bytes without passing them through
vis(3)escaping (-Sflag). tmux 3.7 escapes pasted content by default; set this to restore the raw behaviour. Requires tmux 3.7+. If used with tmux < 3.7, a warning is issued and the flag is ignored.
-
0 declared, 0 inherited