Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Go API

Go documentation

tmux.Server.SearchSessions

Go
  • Python
  • Ruby Unavailable
  • Lua
  • TypeScript Unavailable
  • Rust Unavailable
  • Go
  • Java Unavailable
  • .NET
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
tmux
Declared in
Server
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/search.go
Other languages
Python Ruby Lua TypeScript Rust Java .NET C++ Swift
SearchSessions ( ctx : context.Context , filter : *TmuxFilter ) → ([]Session, error)
method [source]
method [source]
SearchSessions

SearchSessions returns a newly materialized snapshot projection of sessions selected by tmux's live -f expression. A nil filter omits -f; a nonnil empty filter remains an explicit empty expression.

In other ports Filter the sessions with a tmux expression

0 declared, 0 inherited

Esc

Type to search.