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
- Module
- io.github.libtmux.Pane
- Declared in
- Pane
- Package
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/Pane.java
-
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