LibTmux.Mcp.TailResult
- public sealed record TailResult( string Pane
Id , BoundedText Content, string Cursor, bool LinesMissed , bool AnchorLost ); -
What a pane has printed since it was last read.
Description
This is the tool for watching a pane across turns. It answers only what is new, so the tenth read of a busy pane costs what the first one did rather than ten times as much.
- Parameters
-
-
Content(BoundedText ) – The new text, within the budget. -
Cursor(string) – Where this read finished. Pass it to the next call to continue from here. It is opaque; do not build one. -
LinesMissed(bool) – Whether scrollback dropped lines this read never saw. tmux frees the oldest history oncehistory-limitis reached, so a pane that printed more than that between two reads loses the lines in between for good. -
AnchorLost(bool) – Whether the previous position could no longer be found, so the read started from what is visible now rather than from where it left off.
Properties5
| Name | Type | Description |
|---|---|---|
| PaneId | string | The pane that was read. |
| Content | Bounded | The new text, within the budget. |
| Cursor | string | Where this read finished. Pass it to the next call to continue from here. It is opaque; do not build one. |
| LinesMissed | bool | Whether scrollback dropped lines this read never saw. tmux frees the oldest
history once history-limit is reached, so a pane that printed more
than that between two reads loses the lines in between for good. |
| AnchorLost | bool | Whether the previous position could no longer be found, so the read started from what is visible now rather than from where it left off. |