tmux_buffer:paste/3
Send a named buffer or latest to a registered pane. Defaults preserve payload bytes: LF separators and unsanitized input. On tmux 3.7+, raw paste uses -S; sanitize=true selects its safe print encoding. Earlier releases reject that request with unsupported_capability before dispatch.
Source and package
- Qualified name
-
tmux_buffer: paste/3 - Declared in
tmux_buffer- Package
- libtmux_erlang
- Source
- apps/libtmux_erlang/src/tmux_buffer.erl
- Other languages
- Perl PowerShell Julia Elixir Haskell Common Lisp Python Ruby LuaTypeScriptRustGoJavaC#C++Swift Kotlin Scala OCaml F# Clojure
- paste(Pane, Buffer, Options) -spec paste(tmux
_model: (), target(), pastepane _options ()) -> {ok, tmux_operation: ()} | {error, map()}.completed -
Description#
separator is NUL-free; delete removes the buffer after the native paste call. bracketed adds markers only if the target has enabled that terminal mode. Native input-off/dead-pane behavior still applies. Completion establishes the tmux command result, not consumption by the child. No automatic retry occurs.
- Parameters
-
-
Pane(tmux_model: ()) #pane -
Options(paste_options ()) #
-
tmux command#
The tmux commands behind paste/3.
tmux C API#
The C declarations in tmux that implement these commands.
Guides#
Pages that discuss paste/3.
In other ports#
Paste a buffer into a pane
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Lua | libtmux |
| 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#.