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

pane.Pane.option_names

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

View as Markdown

Module
pane
Declared in
Pane
Package
libtmux
Source
crates/libtmux/src/pane/settings.rs
option_names ( self ) → Result<Vec<String>, Error>
method [source]
method [source]
option_names

List the option names set at this pane's scope.

Values are not included: tmux renders them for display with three different quoting styles, so re-parsing them would be guesswork. Read each value with Self::typed_option , which decodes the exact bytes.

Names are String, not TmuxText , because tmux's own are ASCII and every option method takes one as &str; a user option (@name) lists cut at any whitespace in its name, and with U+FFFD for bytes that are not UTF-8, since show-options prints names unframed.

Errors

Returns an error when tmux refuses the listing.

Discussed in Options and hooks

0 declared, 0 inherited

Esc

Type to search.