Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Go API

Go documentation

tmux.Pane.CaptureToBuffer

Go
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
tmux
Declared in
Pane
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/pane_capture.go
CaptureToBuffer ( ctx : context.Context , buffer : string , request : CapturePaneRequest ) → error
method [source]
method [source]
CaptureToBuffer

CaptureToBuffer captures content from the receiver's exact linked pane into the nonempty named tmux buffer. The buffer is owned by tmux and no printed output is returned. A completed nonzero exit or stderr becomes a CommandError .

Invalid requests fail before execution. Transport and context errors are delivery-ambiguous: the buffer may already have changed.

0 declared, 0 inherited

Esc

Type to search.