Core LibraryalphaAPI Reference

Choose documentation 3

latest

Current version

latest
English

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

Swift API

method libtmux-swift latest

Server.validateLayouts(_:)

Checks layouts and their required pane counts before changing tmux.

Source and package
Qualified name
Server.validateLayouts(_:)
Declared in
Server
Package
libtmux-swift
Source
Sources/LibTmux/Layout.swift
validateLayouts(_:)( layouts: [(layout: String, paneCount: Int)] ) -> ()

Description#

Custom layouts require a valid checksum, nonempty tree and enough pane cells. Geometry and pruning remain tmux's responsibility. Empty batches perform no I/O unless cancelled; each supplied layout must be nonempty.

Unique named abbreviations follow the running daemon. Only an endpoint with no daemon uses the configured executable's version. A release below the supported floor, like transport and cancellation failures, is thrown.

Parameters
Raises
Esc

Type to search.

Reference preview Open reference