Window.option_names
List the option names set at this window's scope.
Source and package
- Qualified name
-
libtmux::window:: Window:: option _names - Module
- window
- Declared in
Window- Package
- libtmux
- Source
- crates/libtmux/src/window/settings.rs
-
Description#
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, notTmuxText, 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, sinceshow-optionsprints names unframed.Errors
Returns an error when tmux refuses the listing.
tmux command#
The tmux commands behind option_names.
tmux C API#
The C declarations in tmux that implement these commands.