MCPAPI Reference

Choose documentation 3

latest

Current version

latest
English

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

LibTmux.Mcp.SessionInfo

API reference · Markdown

struct LibTmux.Mcp.SessionInfo
struct [source]

What a session is.

Description#

There is no session size. tmux removed the session_width and session_height formats in 2.9, so on every supported version those fields could only ever answer null.

Members

From

From ( session : Session , attached : bool? ) → SessionInfo
methodstatic [source]

Describes a session the library has already materialized.

Parameters
  • session ( Session ) – The session to describe.

  • attached ( bool? ) – Whether a client other than this server's own observers is attached, or null to trust the session's own captured field as-is.

Returns

The description.

Esc

Type to search.