Core LibraryunreleasedAPI Reference

Choose documentation 1

latest

Current version

latest
English

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

function libtmux-erlang latest

tmux_select:matching/2

Prepare a trusted behaviour once, then apply its Boolean predicate.

Source and package
Qualified name
tmux_select:matching/2
Declared in
tmux_select
Package
libtmux_erlang
Source
apps/libtmux_erlang/src/tmux_select.erl
matching/2 -spec matching({module(), term()}, t(Row)) -> {ok, t(Row)} | {error, term()} when Row :: tmux_model:row().

Description#

Uses tmux_matcher:prepare/2; preparation failure returns {error, Detail}. Exceptions in either callback propagate. A matcher requires a captured snapshot; a from_list/2 selection returns matcher_requires_snapshot. The application chooses Module.

Parameters
Esc

Type to search.

Reference previewOpen reference