Server.session
The one session this expression matches, captured now, or empty when none does.
Source and package
- Qualified name
-
io.github .libtmux .Server. session - Package
- io.github.libtmux
- Declared in
Server- Distribution
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/Server.java
-
Description#
Reads as
#sessions(FilterExpr)does.- Parameters
-
-
expression(FilterExpr <Session>) # forsession(expression)
-
- Returns
-
empty only when a successful capture contains no match for
session(id) - Raises
-
-
Cardinality
Exception – if more than one session matches; its count is exact, since the whole capture is in hand for.Multiple Matches session(expression) -
Server
Unavailable – if no daemon is runningException -
Lib
Tmux – if the capture otherwise fails forException session(name);session(id)
-