Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

io.github.libtmux.Server.Server.session

Java
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go Unavailable
  • Java
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
io.github.libtmux.Server
Declared in
Server
Package
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/Server.java
session ( name : String ) → Optional<Session> ( id : SessionId ) → Optional<Session>
methodoverload2 overloads [source]
methodoverload2 overloads [source]
session

The session with this name, captured now.

One read, so the handle carries a capture the way #sessions() does. The name is matched exactly; tmux would otherwise take a prefix, so asking for build could answer with build-cache.

Empty means a successful capture did not contain that name. Capture failures throw.

Returns

empty only when a successful capture contains no match

Raises

0 declared, 0 inherited

Esc

Type to search.