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

mcp.model.CapturePaneArgs

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

API reference · Markdown

struct mcp.model.CapturePaneArgs
struct [source]
struct [source]
struct mcp.model.CapturePaneArgs

Arguments for reading a pane.

Members

pane

pane : String
attribute [source]
attribute [source]
pane

The %-prefixed pane id.

history

history : bool
attribute [source]
attribute [source]
history

Read the whole history rather than the visible screen.

last_command

last_command : bool
attribute [source]
attribute [source]
last_command

Return only the last command's output, when the shell marks its prompts.

Answers far less than the history, because it starts where the last command's output began. When the pane's shell does not mark its prompts -- fish does, bash and zsh do not -- this reports marks: "absent" and returns the visible screen instead.

start

start : Option<i32>
attribute [source]
attribute [source]
start

Start at this line. Zero is the top of the screen, negative is scrollback. Omit for the top of the screen, or of the scrollback with history .

end

end : Option<i32>
attribute [source]
attribute [source]
end

End at this line. Omit for the bottom of the screen.

Esc

Type to search.