Core Library0.xAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

method libtmux

Server._session_target

Return the tmux target for a session name, honouring exact.

Source and package
Qualified name
libtmux.Server._session_target
Module
libtmux
Declared in
Server
Package
libtmux
Source
src/libtmux/server.py
_session_target ( self, target_session: str | int, exact: bool | None ) → str | int

Description

exact=True always sends =name; exact=False sends the bare name and keeps tmux's exact, prefix, then fnmatch(3) resolution. exact=None behaves like False and warns only when the bare name has no exact match but tmux would still resolve it.

Parameters

Recorded calls

source calls
No call edges in the Python model.

The Python reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls libtmux.Server._session_target.

Esc
Search in

Type to search.

Reference previewOpen reference