Skip to content

Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.

debug(glyphgrid): actually call the cell readout

enes5343af5f7a64
diff --git a/src/renderer/nodes/TerminalNode.tsx b/src/renderer/nodes/TerminalNode.tsx
index 5b8d2eb59..3273aa231 100644
--- a/src/renderer/nodes/TerminalNode.tsx
+++ b/src/renderer/nodes/TerminalNode.tsx
@@ -1595,6 +1595,10 @@ export function TerminalNode({
ensureWebglClient()
return
}
+ // DEBUG-ONLY (see `publishCellDebug`): the CSS cell this grid is registered with, the DEVICE
+ // cell the atlas rasterizes into, and the ratio between them. At zoom 1 `css * dpr` must
+ // equal `device`; anything else is the factor every glyph is stretched by.
+ publishCellDebug(id, { css: cell, device: deviceCellOf(term), dpr: currentDprForDebug() })
glyphBodyOffsetRef.current = offset
const origin = bodyWorldRect(nodePosRef.current, offset)
// The plate is the BODY rect, measured here so the grid is never registered with a