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

Swift API

Swift documentation

Server.format(_:addressing:)

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/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.