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.

constant libtmux-rs latest

JSON_LAYOUTS

window_layout and select-layout using a JSON subset instead of the classic checksum-prefixed string, and so crate::LayoutSpec::Saved accepting one.

Source and package
Qualified name
libtmux::version::JSON_LAYOUTS
Module
version
Package
libtmux
Source
crates/libtmux/src/version.rs
JSON_LAYOUTS : ReleaseVersion

Description#

tmux's own CHANGES FROM 3.7c TO 3.8 names the release: "Layout strings now use a JSON subset format ... The old format is still accepted; control mode clients receive old layouts unless they set the new-layouts flag." Below this release a JSON string is refused as an unrecognised layout, with no hint that the value is simply from a newer tmux.

3.8 dumps JSON and 3.7c does not.

Esc

Type to search.

Reference previewOpen reference