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

io.github.libtmux.Pane.Pane.expand

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.Pane
Declared in
Pane
Package
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/Pane.java
expand ( format : String ) → String
method [source]
method [source]
expand

Expands a tmux format in this pane's context, and answers with what it came to.

The way out of this library. Snapshots carry the fields worth carrying; a format reaches everything else tmux knows, including fields added by a release this code has never heard of.

Examples

String title = pane.expand("#{pane_title}");
String where = pane.expand("#{session_name}:#{window_index}.#{pane_index}");
Parameters
  • format ( String ) – a tmux format, usually of the shape #{name}

Returns

the expansion, whole when it spans lines and empty when the format expanded to nothing

0 declared, 0 inherited

Esc

Type to search.