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/2with{Module, State}. The application chooses Module; external filter documents cannot select theprepare/2callback. 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.