# libtmux_mcp.models.WaitForTextResult.matched_index

- **Module:** libtmux_mcp.models
- **Package:** libtmux-mcp
- **Language:** Python
- **Kind:** attribute
- **Source:** https://github.com/tmux-python/libtmux-mcp/blob/4daddc0dfca96c43bf521d818bf91564e1434760/src/libtmux_mcp/models.py#L270
- **Page:** https://libtmux.org/en/py/stable/mcp/reference/libtmux_mcp-models-waitfortextresult-matched_index/

```py
libtmux_mcp.models.WaitForTextResult.matched_index: int | None = Field(
        default=None,
        description=(
            "Zero-based index into ``patterns``, or into ``stop`` when "
            "``outcome`` is ``stopped``. Null otherwise."
        ),
    )
```
