# LibTmux.Mcp.BoundedText

- **Module:** LibTmux.Mcp
- **Package:** LibTmux.Mcp
- **Language:** .NET
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/320dc64f4b8b7815842471327a5e6b84a1499bf8/src/LibTmux.Mcp/Results/BoundedText.cs#L22
- **Page:** https://libtmux.org/en/dotnet/latest/mcp/reference/libtmux-mcp-boundedtext/

Terminal text cut to fit a budget, with what was cut reported.

Dropping is always from the oldest end. A terminal's newest line is the one
that says what happened, so a budget that discarded it would answer the
wrong question. Reporting the loss is what separates a short answer from a
wrong one: a reader who cannot see that lines are missing will conclude the
pane never printed them.

## Members

- `Empty` (property): An empty result that dropped nothing.
- `Fit` (method): Cuts lines down to a line and byte budget, keeping the newest.
- `ToDisplayString` (method): Renders the text as one block, noting any loss at the top.
