Pane.paste_buffer
Paste a buffer into the pane via $ tmux paste-buffer.
Source and package
-
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 throughvis(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.
-
tmux command#
The tmux commands behind paste_buffer.
tmux C API#
The C declarations in tmux that implement these commands.
In other ports#
Paste a buffer into a pane
| Language | Equivalent |
|---|---|
| Lua | libtmux |
| Erlang | tmux |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | pane |
| Rust | pane |
| Go | tmux |
| Java | io |
| C# | Lib |
| C++ | libtmux:: |
| Swift | Server |
| OCaml | No direct public OCaml equivalent is recorded for this operation. |
| Perl | No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands. |
No equivalent is recorded in Ruby, PowerShell, Julia, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.