Liking cljdoc? Tell your friends :D

hive-tmux.state

Atom-based pane registry for tmux terminal backend.

Maps ling-id -> {:pane-id, :window-id, :pane, :window, :cwd}.

Not DataScript — pane/window are Python object references that can't be serialized. The canonical ling registry in DataScript (via ds-lings) remains the source of truth for ling lifecycle; this atom is a local index for tmux-specific operations.

Atom-based pane registry for tmux terminal backend.

Maps ling-id -> {:pane-id, :window-id, :pane, :window, :cwd}.

Not DataScript — pane/window are Python object references that can't
be serialized. The canonical ling registry in DataScript (via ds-lings)
remains the source of truth for ling lifecycle; this atom is a local
index for tmux-specific operations.
raw docstring

clear-registry!clj

(clear-registry!)

Clear all pane registrations. Used during shutdown.

Clear all pane registrations. Used during shutdown.
sourceraw docstring

deregister-pane!clj

(deregister-pane! ling-id)

Remove a ling's pane from the local registry. Returns the removed entry or nil.

Remove a ling's pane from the local registry.
Returns the removed entry or nil.
sourceraw docstring

get-all-panesclj

(get-all-panes)

Return all registered pane entries as {ling-id -> entry}.

Return all registered pane entries as {ling-id -> entry}.
sourceraw docstring

get-paneclj

(get-pane ling-id)

Look up a ling's pane info. Returns map or nil.

Look up a ling's pane info. Returns map or nil.
sourceraw docstring

register-pane!clj

(register-pane! ling-id pane-info opts)

Register a ling's tmux pane in the local registry.

Arguments: ling-id - string ling identifier pane-info - map from tmux_ops/create-pane! {:pane-id, :window-id, :pane, :window} opts - {:cwd str}

Returns: The registered entry.

Register a ling's tmux pane in the local registry.

Arguments:
  ling-id  - string ling identifier
  pane-info - map from tmux_ops/create-pane!
              {:pane-id, :window-id, :pane, :window}
  opts      - {:cwd str}

Returns:
  The registered entry.
sourceraw docstring

registered?clj

(registered? ling-id)

Check if a ling has a registered pane.

Check if a ling has a registered pane.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close