Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

mcp.tail.Cursor

Rust
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

API reference · Markdown

struct mcp.tail.Cursor
structoverload [source]
structoverload [source]
struct mcp.tail.Cursor

A place in one pane's output.

Opaque by contract: it is rendered as text for the protocol to carry, and callers pass back what they were given rather than constructing one.

Members

encode

encode ( self ) → String
method [source]
method [source]
encode

Render the cursor for a caller to hold.

Discussed in Query captured data

decode

decode ( text : &str ) → Result<Self, &str>
method [source]
method [source]
decode

Read back a cursor this crate rendered.

Errors

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

Discussed in Query captured data

pane

pane ( self ) → &str
method [source]
method [source]
pane

The pane this cursor belongs to.

Esc

Type to search.