# LibTmux.Mcp.BoundedText

- **Module:** LibTmux.Mcp
- **Package:** LibTmux.Mcp
- **Language:** C#
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/cf34b255c896d19a97e7d7fabea58609c916012d/src/LibTmux.Mcp/Results/BoundedText.cs#L22
- **Page:** https://libtmux.org/en/csharp/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

### Other 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.
