Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-java latest

Options.setExpanded

Sets one option to what a tmux format comes to, rather than to the format itself.

Source and package
Qualified name
io.github.libtmux.Options.setExpanded
Package
io.github.libtmux
Declared in
Options
Distribution
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/Options.java

Description#

setExpanded("status-left", "in #{session_name")} stores in base. The expansion happens once, when this is called; the option does not stay live.

Because tmux expands the format when this is called, a #(...) in it runs a command at that moment. Pass any interpolated value through TmuxFormats#literal() unless you mean it to be expanded.

Parameters

tmux command#

The tmux commands behind setExpanded.

tmux C API#

The C declarations in tmux that implement these commands.

tmux options#

Settings for the server, sessions, windows and panes, with their types, defaults and allowed values.

Esc

Type to search.

Reference previewOpen reference