Core LibraryunreleasedAPI Reference

Choose documentation 2

latest

Current version

latest
English

Unreleased LibTmux has not been released. Its API may change during development. This site's structure and URLs may change too.

method libtmux-perl latest

Selection.new

new(@entities) creates a concrete blessed array reference and validates every member. Construct an entity-specific selection such as LibTmux::PaneSelection; an empty instance retains that schema.

Source and package
Qualified name
LibTmux::Selection::new
Module
LibTmux
Declared in
Selection
Package
LibTmux
Source
packages/core/lib/LibTmux/Selection.pm
sub new($class, @items)

Description#

Members may come from separate captures of the same server generation; each retains its own observation. Mixing servers or daemon generations throws "InvalidSelection" in LibTmux::X. Combining captures does not reconcile their times.

Methods#

Parameters
Esc

Type to search.

Reference previewOpen reference