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.

method libtmux-swift latest

Session.filterFormatField(_:)

The tmux format field an id reads, or nil when it has no single one.

Source and package
Qualified name
Session.filterFormatField(_:)
Declared in
Session
Package
libtmux-swift
Source
Sources/LibTmux/FilterFields.swift
filterFormatField(id: String) -> String?filterFormatField(id: String) -> String?

Description#

This is what lets a filter be answered by tmux instead of by listing everything and discarding most of it. Returning nil is always safe: the field drops out of the -f predicate and is evaluated in Swift.

Parameters
Esc

Type to search.

Reference previewOpen reference