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.

Clojure API

module libtmux-clojure latest

libtmux.control

Explicit control replies through attach! and send!.

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

Description#

subscribe!, next!, and terminal expose owned bounded output streams. Control needs tmux 3.7 or newer; an older daemon is refused before any client is attached, with :tmux/error :tmux/unsupported-feature.

Members6#

  • attach! function Attaches an owned control client to an explicit captured Session reference.
  • close! function Closes a connection or subscription. Closing a subscription leaves its
  • next! function Reads one event, gap, timeout, or terminal map; never uses nil for termination.
  • send! function Sends argv and returns protocol status, lines, and unverified completion.
  • subscribe! function Creates a closeable output subscription borrowing its connection.
  • terminal function Returns the single recorded stream outcome, or nil until a reader drains it.

Guides#

Pages that discuss libtmux.control.

Esc

Type to search.

Reference previewOpen reference