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

libtmux::Server::session

C++

View as Markdown

Module
libtmux
Declared in
Server
Package
libtmux-cxx
Source
include/libtmux/server.hpp
Other languages
Python Ruby Lua TypeScript RustGo Java .NET Swift
session ( target : std::string_view ) → expected< Session, CommandFailure >
methodreadonly [source]
methodreadonly [source]
session

One object by target, for a caller holding an id or a session:window path that came from somewhere else.

The target is resolved the way tmux resolves it, so a session target names that session's active pane and the window that pane is in. A target tmux cannot resolve is reported missing.

In other ports Look one session up by target

0 declared, 0 inherited

Esc

Type to search.