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-rs latest

Event.may_have_added_a_pane

Report whether a pane may have appeared since the last look.

Source and package
Qualified name
libtmux::control::Event::may_have_added_a_pane
Module
control
Declared in
Event
Package
libtmux
Source
crates/libtmux/src/control.rs
#[must_use] pub const fn may_have_added_a_pane(&self) -> bool

Description#

tmux publishes no notification for a pane being created, so this is a conservative union of the events that can accompany one. A caller that narrowed with ControlSender::watch_only() must repeat it when this answers true.

Esc

Type to search.

Reference previewOpen reference