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

Server.paneFields

Chosen fields for every pane on the server, from one listing.

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

Description#

For what a capture does not carry — pane_tty, pane_dead_status, pane_start_command, any of tmux's pane formats. Asking each pane is a tmux process per pane and a view no single moment held; this is one list-panes, so every value is from the same instant.

Examples#

Map<PaneId, Map<String, String>> ttys = server.paneFields(List.of("pane_tty", "pane_dead"));
Parameters
Returns

each pane's values keyed by the names asked for, in tmux's pane order

Raises

tmux command#

The tmux commands behind paneFields.

tmux C API#

The C declarations in tmux that implement these commands.

Esc

Type to search.

Reference previewOpen reference