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

Session.expand

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

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

Description#

The same escape hatch Pane#expand() gives, resolved against this session.

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