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.

Erlang API

module libtmux-erlang latest

tmux_matcher

Prepare a trusted local predicate once for a captured snapshot.

Source and package
Qualified name
tmux_matcher
Package
libtmux_erlang
Source
apps/libtmux_erlang/src/tmux_matcher.erl
tmux_matcher

Description#

Use tmux_select:matching/2 with {Module, State}. The application chooses Module; external filter documents cannot select the prepare/2 callback. Preparation returns a unary Boolean function or a tagged error. Callback exceptions propagate. The adapter does not make executable predicates portable or push them to tmux.

Members1#

  • prepare/2 function Prepare a local Boolean predicate once for this captured snapshot. Return a tagged preparation error when the matcher cannot operate. Callback exceptions remain application failures; this does not make a matcher portable or suitable for untrusted module selection.

Guides#

Pages that discuss tmux_matcher.

Esc

Type to search.

Reference previewOpen reference