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

method libtmux-swift latest

Server.format(_:addressing:)

Evaluates a tmux format against a target named by id.

Source and package
Qualified name
Server.format(_:addressing:)
Declared in
Server
Package
libtmux-swift
Source
Sources/LibTmux/Formats.swift

Description#

One -t serves every kind of target: tmux resolves the id to whichever object the format asks about, so only the caller distinguishes them. The typed overloads are the ones to reach for in Swift, where the object is already in hand. This is for an id that arrived from somewhere else — a command-line argument, or a request from another process — with no object to go with it.

Parameters
Raises
Esc

Type to search.

Reference previewOpen reference