- Module
- libtmux
- Declared in
- Pane
- Package
- libtmux
- Source
- src/libtmux/pane.py
- Other languages
- Ruby LuaTypeScriptRustGoJava.NETC++Swift
-
Paste a buffer into the pane via
$ tmux 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.
-
In other ports Paste a buffer into a pane
- Ruby No source-verified Ruby equivalent is recorded for this operation.
- Lua
libtmux.Pane:paste_buffer - TypeScript
pane.Pane.pasteBuffer - Rust
pane.Pane.paste_buffer - Go
tmux.Pane.PasteBuffer - Java
io.github.libtmux.Pane.Pane.pasteBuffer - .NET
LibTmux.Pane.PasteBufferAsync - C++
libtmux::Pane::paste - Swift
Server.paste(buffer:into:)
Examples
>>> server.set_buffer('pasted_text')>>> pane.paste_buffer()await pane.pasteBuffer("greeting");0 declared, 0 inherited