Server.session(named:)
The session with this name, or nil if no session has it.
Source and package
- Qualified name
-
Server.session(named:) - Declared in
Server- Package
- libtmux-swift
- Source
- Sources/LibTmux/Lookup.swift
-
Description#
Names are unique among sessions, which is why this returns one rather than a list. Use
hasSession(_:)when only existence matters — it asks tmux a question it answers with an exit status and decodes nothing.