libtmux Reference MCP Search
On this page

Server.capture(_:includingHistory:)

View as Markdown

Declared in
Server
Package
libtmux-swift
Source
Sources/LibTmux/PaneInteraction.swift
capture(_:includingHistory:) ( pane : Pane , includingHistory : Bool ) [String]
methodasync [source]
methodasync [source]
capture(_:includingHistory:)

The pane's visible contents, one line per row. The source read is capped at 1 MiB; use incremental capture for a large scrollback instead of collecting its entire history.

  • Parameters:
    • pane: the pane to read.
    • includingHistory: reads the scrollback too, from its start.
Raises

0 declared, 0 inherited

Esc

Type to search.