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

Pane.expand

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

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

Description#

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

tmux command#

The tmux commands behind expand.

tmux C API#

The C declarations in tmux that implement these commands.

Esc

Type to search.

Reference previewOpen reference