Core Library0.xAPI reference

Choose documentation 1

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

class libtmux-fsharp

Query

Describes a tmux listing: a scope, filters and text panes must show.

Source and package
Qualified name
LibTmux.FSharp.Query
Namespace
LibTmux.FSharp
Package
LibTmux.FSharp
Source
src/LibTmux.FSharp/Query.fsi
type Query<'T>module Query

Description

Building a query reads nothing; each run reads tmux again. tmux narrows the listing with its own filter where it can evaluate one exactly, and every row is then checked against the portable filters.

Members8 members

  • atMostOne Reads the sole match, or None when nothing matches; several matches raise.
  • exactlyOne Reads the sole match, or why there is not exactly one.
  • matching Filters captured objects locally, preserving input order and multiplicity.
  • showing Keeps panes whose visible rows show the searched text.
  • tryExactlyOne Reads the sole match, or None when there are none or several.
  • where Adds a portable filter every result satisfies.
  • whereUnsafe Adds a raw tmux filter, which tmux evaluates and nothing rechecks.
  • list Reads the matching objects in tmux's listing order.
Esc
Search in

Type to search.

Reference previewOpen reference