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

mcp.model.CapturePaneArgs.last_command

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

API reference · Markdown

mcp.model.CapturePaneArgs.last_command : bool
attribute [source]
attribute [source]
mcp.model.CapturePaneArgs.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.

Esc

Type to search.