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

Swift API

Swift documentation

Server.mode

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

View as Markdown

Declared in
Server
Package
libtmux-swift
Source
Sources/LibTmux/Server.swift
mode : var mode: TmuxMode
property [source]
property [source]
mode

How work from this server reaches tmux.

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.

0 declared, 0 inherited

Esc

Type to search.