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

io.github.libtmux.Options.Options.setExpanded

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

View as Markdown

Module
io.github.libtmux.Options
Declared in
Options
Package
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/Options.java
setExpanded ( name : String , format : String ) → void
method [source]
method [source]
setExpanded

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

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.

0 declared, 0 inherited

Esc

Type to search.