libtmux Reference MCP Search
On this page

tmux.PasteBufferRequest

View as Markdown

Module
tmux
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/pane_process.go
struct tmux.PasteBufferRequest
struct [source]
struct [source]
struct tmux.PasteBufferRequest

PasteBufferRequest configures one tmux paste-buffer operation. Its zero value pastes the top buffer, replaces linefeeds with tmux's default carriage-return separator, and uses the version's default control-character handling. Pointer values are copied before I/O and must not be mutated concurrently.

6 declared, 0 inherited

Members

  • Bracket attribute Bracket surrounds the paste with bracketed-paste control codes when the pane application has requested bracketed paste mode.
  • BufferName attribute BufferName selects a named tmux buffer. Nil selects the top buffer; nonnil empty remains an explicit buffer name.
  • DeleteAfter attribute DeleteAfter asks tmux to delete an existing selected buffer after processing it. Deletion does not prove bytes reached a pane whose input may be disabled.
  • LinefeedSeparator attribute LinefeedSeparator preserves linefeeds instead of replacing them with Separator or tmux's default carriage return.
  • NoVis attribute NoVis requests raw bytes and requires tmux 3.7. Older versions already paste raw bytes; see UnsupportedPolicy.
  • Separator attribute Separator replaces linefeeds. Nil uses tmux's default carriage return; nonnil empty removes linefeeds. LinefeedSeparator takes precedence.
Esc

Type to search.