paste_bytes
Source and package
- Qualified name
-
LibTmux. paste _bytes - Module
- LibTmux
- Package
- LibTmux
- Source
- src/pane_io.jl
- paste_bytes( connection::Lib
Tmux , pane::Lib.Control Connection Tmux , bytes::Abstract.Pane Ref Vector {UInt8}; bracketed, kwargs..., )paste_bytes( server::LibTmux , pane::Lib.Server Tmux , bytes::Abstract.Pane Ref Vector {UInt8}; bracketed, kwargs..., ) -
Methods
paste_bytes( connection::Lib
Tmux , pane::Lib.Control Connection Tmux , bytes::Abstract.Pane Ref Vector {UInt8}; bracketed, kwargs..., )[source]Paste exact buffer bytes through the pinned connection without appending Enter or converting LF to CR. Bracketed paste and application transformations follow the subprocess method. A private file and randomly named buffer carry the data; success, failure and cancellation attempt uncancelled 900 ms remote cleanup. Cleanup failure retains its buffer reference alongside any primary error. Already-delivered input cannot be rolled back. Empty input validates the local reference and returns
nothingwithout submitting a command.paste_bytes(connection::ControlConnection, pane::PaneRef, bytes; bracketed=false, kwargs...)paste_bytes( server::Lib
Tmux , pane::Lib.Server Tmux , bytes::Abstract.Pane Ref Vector {UInt8}; bracketed, kwargs..., )[source]Paste through a temporary owned buffer, retaining LF rather than converting it to CR.
bracketed=truerequests bracketed paste when the application has enabled it. No Enter is appended. tmux receives exact buffer bytes, but the terminal driver and target application can transform them.paste_bytes(server, pane, bytes; bracketed=false, kwargs...)Success, failure and cancellation attempt bounded cleanup of only the new buffer with a separate, uncancelled five-second cleanup budget. Before tmux 3.4 an exact-name delete can take an unrelated buffer when the name is missing, so the paste itself deletes the buffer (
paste-buffer -d) and a failed stage leaves its named buffer behind instead of risking another one. A cleanup failure preserves the original error inCompositeException. Subprocess generation checks remain best effort; input already delivered to the pane cannot be rolled back. Empty bytes validate the target and returnnothingwithout sending input.
Recorded calls
source callsThe Julia reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.paste_bytes.
tmux command
task materialThe tmux commands behind paste_bytes.
tmux C API
task materialThe C declarations in tmux that implement these commands.
Guides
task materialPages that discuss paste_bytes.
- Guides
- Topics