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

mcp.model.OptionArgs

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.model.OptionArgs
struct [source]
struct [source]
struct mcp.model.OptionArgs

Arguments for reading a tmux option.

Members

name

name : String
attribute [source]
attribute [source]
name

The option name, such as history-limit or a user option like @theme.

scope

scope : Option<String>
attribute [source]
attribute [source]
scope

Which tmux object the option belongs to.

One of server , global-session, global-window, session, window, or pane . Defaults to global-session, which is what setting an option without a target means in tmux.

target

target : Option<String>
attribute [source]
attribute [source]
target

The $, @ or %-prefixed id, for the scopes that need one. Omit for the others.

Esc

Type to search.