MCPconceptAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

mcp.model.CapturePaneArgs.last_command

mcp.model.CapturePaneArgs.last_command : bool

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

Description#

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.

Reference previewOpen reference