Core LibraryAPI 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.

function LibTmux.jl latest

select_layout

Module LibTmux.select_layout LibTmux
Source and package
Module
LibTmux
Package
LibTmux
Source
src/operations.jl

Methods#

select_layout( connection::LibTmux.ControlConnection, target::LibTmux.WindowRef, layout::Union{AbstractString, Symbol}; kwargs... )[source]#

Apply a named layout symbol, unambiguous alias or serialized tmux layout. Malformed headers are rejected before I/O; tmux validates checksums and layout structure. Mirrored layouts require an observed tmux version of 3.5 or later. Return ControlResult after the completion fence on the pinned daemon.

select_layout(connection::ControlConnection, window::WindowRef, layout; kwargs...)

select_layout( server::LibTmux.Server, target::LibTmux.WindowRef, layout::Union{AbstractString, Symbol}; kwargs... )[source]#

Apply a named or serialized tmux layout to an exact window. Aliases must be unambiguous among known layout names; mirrored layouts require observed tmux 3.5 or later. Malformed headers are rejected before I/O. tmux validates a serialized layout's checksum and structure and retains its ordinary errors.

Esc

Type to search.

Reference preview Open reference