Server.paneFields
Chosen fields for every pane on the server, from one listing.
Source and package
- Qualified name
-
io.github .libtmux .Server. pane Fields - 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 onelist-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
-
-
Illegal
Argument – if a name is not a tmux variable nameException -
Server
Unavailable – if no daemon is runningException -
Lib
Tmux – if the listing otherwise failsException
-
tmux command#
The tmux commands behind paneFields.
list-panes -a server scope, cmd_list_panes_server tmux C API#
The C declarations in tmux that implement these commands.