libtmux Reference MCP Search
On this page

Server.format(_:addressing:)

View as Markdown

Declared in
Server
Package
libtmux-swift
Source
Sources/LibTmux/Formats.swift
format(_:addressing:) ( template : String , addressing : String ) String?
methodasync [source]
methodasync [source]
format(_:addressing:)

Evaluates a tmux format against a target named by id.

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.

Raises

0 declared, 0 inherited

Esc

Type to search.