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.

Swift API

property libtmux-swift latest

Server.mode

How work from this server reaches tmux.

Source and package
Qualified name
Server.mode
Declared in
Server
Package
libtmux-swift
Source
Sources/LibTmux/Server.swift
mode : var mode: TmuxMode

Description#

A mode belongs to the value, not to the process or the task, so this is the whole of the answer — there is no setting elsewhere to consult and nothing inherited from a caller. Reading it is how a program checks the precedence rule rather than trusting it: a server handed to you inside using(_:_:) reports that mode, and any other server reports TmuxMode.direct.

Esc

Type to search.

Reference previewOpen reference