# Server.mode

- **Module:** Server
- **Package:** libtmux-swift
- **Language:** Swift
- **Kind:** property
- **Source:** https://github.com/libtmux/libtmux-swift/blob/254f8b2be7eb60cacc3ffcb3ea8e456784f582df/Sources/LibTmux/Server.swift#L42
- **Page:** https://libtmux.org/en/swift/latest/reference/server-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``.
