tmuxq.Matching
Go
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
- Module
- tmuxq
- Package
- github.com/libtmux/libtmux-go/tmux
- Source
- tmuxq/filter.go
-
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.
active, err := tmuxq.Matching(snapshot.Panes(), tmux.PaneActiveIs(true))
0 declared, 0 inherited