# mcp.tail.Cursor.decode

- **Module:** mcp.tail.Cursor
- **Package:** tmux-mcp
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/tmux-mcp/src/tail.rs#L78
- **Page:** https://libtmux.org/en/rs/latest/mcp/reference/mcp-tail-cursor-decode/

```
mcp.tail.Cursor.decode(text: &str) -> Result<Self, &str>
```

Read back a cursor this crate rendered.

# Errors

Returns the given text when it is not one of ours.
