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

LibTmux.CapturePaneRequest.ToCommand

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

View as Markdown

Module
LibTmux
Declared in
CapturePaneRequest
Package
LibTmux
Source
src/LibTmux/Requests/CapturePaneRequest.cs
ToCommand ( pane : Pane ) → TmuxCommand
method [source]
method [source]
ToCommand

Returns a capture request as one tmux command.

Several capture flags arrived after tmux 3.2a, and the pane is what knows which tmux is answering, so the command it builds carries only the flags that server accepts.

Parameters
  • pane ( Pane ) – The pane being captured.

Returns

The command, ready to add to a TmuxChain .

Raises

0 declared, 0 inherited

Esc

Type to search.