Core LibraryunreleasedAPI Reference

Choose documentation 1

latest

Current version

latest
English

Unreleased io.github.libtmux:libtmux-clojure has not been released. Its API may change during development. This site's structure and URLs may change too.

module libtmux-clojure latest

libtmux.data

Pure captured values from libtmux.core/snapshot!.

Source and package
Qualified name
libtmux.data
Module
libtmux.data
Package
io.github.libtmux:libtmux-clojure
Source
libtmux-clojure/src/main/clojure/libtmux/data.clj

Description#

Traverse with windows and panes, select with matching, or detach with data.

Members14#

Collections and queries2#

  • windows function Returns the captured window occurrences in a snapshot or session.
  • panes function Returns captured pane occurrences in a snapshot, session, or window.

Common operations6#

  • data function Projects captured data to EDN, removing :tmux/ref at every map level.
  • exactly-one function Returns the only value or throws ex-info for zero or multiple values.
  • from-capture function Converts an authenticated Java CapturedServer to eager persistent values.
  • matching function Filters captured entries using a Java FilterExpr over their preserved refs.
  • same-entity? function Compares physical entity identities without acquiring current state.
  • same-link? function Compares occurrences, including the session, window ID, and index.

Other members6#

  • active-pane function Returns the captured active pane of a window or session, or nil.
  • active-window function Returns the captured active window of a session, or nil.
  • entity-key function Returns a captured physical identity, qualified by endpoint and server PID.
  • link-key function Returns the physical identity and contextual window placement.
  • one-or-none function Returns the only value, nil for none, or throws for multiple values.
  • predicate function Adapts a Java FilterExpr to a predicate over captured entries.

Guides#

Pages that discuss libtmux.data.

Esc

Type to search.

Reference previewOpen reference