Matching
Matching returns a fresh slice of shallow copies for values that filter accepts, retaining their source order, and reports the one error a filter can have rather than leaving it for the caller to unpack first. It evaluates every input value, so a no-match result is an empty slice.
Source and package
- Qualified name
-
tmuxq.Matching - Package
- tmuxq
- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmuxq/filter.go
-
Description#
active, err := tmuxq.Matching(snapshot.Panes(), tmux.PaneActiveIs(true))
Guides#
Pages that discuss Matching.