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.

MoreLess about this notice

constant libtmux-rs

Event.LayoutChanged

A window's panes were rearranged, added to, or removed from.

Source and package
Qualified name
libtmux::control::Event::LayoutChanged
Module
control
Declared in
Event
Package
libtmux
Source
crates/libtmux/src/control.rs

Description#

tmux has no notification for a pane appearing, so this is the one that reports it: every split changes the layout, including a detached split that leaves the active pane alone and reports nothing else.

Fields4 fields#

LayoutChanged fields
NameTypeDescription
window WindowId The window whose layout changed.
layout TmuxText The new layout, in tmux's own layout syntax.
visible_layout TmuxText The layout as displayed, which differs when a pane is zoomed.
flags TmuxText The window's flags, such as * for active.
Esc
Search in

Type to search.

Reference previewOpen reference