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.(clear-registry!)Clear all pane registrations. Used during shutdown.
Clear all pane registrations. Used during shutdown.
(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.
(get-all-panes)Return all registered pane entries as {ling-id -> entry}.
Return all registered pane entries as {ling-id -> entry}.
(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.
(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.(registered? ling-id)Check if a ling has a registered pane.
Check if a ling has a registered pane.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |