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.
TypeScript adhdagent-orchestrationai-agentscanvasclaude-codecodexcoding-agentsdeveloper-toolselectrongeminilinuxmacosmultiplexeropencodeparallel-agentsterminalterminal-emulatorterminal-multiplexertmuxworkspace-manager
perf(terminal): pause the glass blur while the canvas pans or zooms
iceclatterWT5577498df395
diff --git a/src/renderer/canvas/Canvas.tsx b/src/renderer/canvas/Canvas.tsxindex ef971a6d3..793cadb2c 100644--- a/src/renderer/canvas/Canvas.tsx+++ b/src/renderer/canvas/Canvas.tsx@@ -1520,6 +1520,13 @@ export function Canvas() {const browserPopupSpawnsRef = useRef<{ url: string; source: string; t: number }[]>([])const loadingRef = useRef(false)const flowWrapRef = useRef<HTMLDivElement>(null)+ // Glass terminals: while the camera moves, every glass node's backdrop changes each frame and+ // the 28px blur is re-rasterised for all of them. The class drops the blur (the tint stays, and+ // the tint alone is what the contrast guarantee rests on) until the move settles. A classList+ // toggle rather than state, so a pan does not re-render this component twice.+ const setCanvasMoving = useCallback((moving: boolean) => {+ flowWrapRef.current?.classList.toggle('canvas-moving', moving)+ }, [])// Undo/redo history (snapshots of the nodes array; arrays are immutable per change).const pastRef = useRef<CanvasNode[][]>([])const futureRef = useRef<CanvasNode[][]>([])@@ -14825,6 +14832,8 @@ export function Canvas() {onConnect={onConnect}onEdgeDoubleClick={onEdgeDoubleClick}onMove={onMove}+ onMoveStart={() => setCanvasMoving(true)}+ onMoveEnd={() => setCanvasMoving(false)}onNodeDragStart={() => (draggingRef.current = true)}onNodeDragStop={() => {draggingRef.current = falsediff --git a/src/renderer/styles.css b/src/renderer/styles.cssindex 104d8e97f..0703673f4 100644--- a/src/renderer/styles.css+++ b/src/renderer/styles.css@@ -1491,6 +1491,13 @@ body,.term-node--glass .term-node__body {background: transparent;}+/* The blur is re-rasterised for every glass node on every frame of a pan/zoom (their backdrop+ moves under them). Canvas marks the flow wrapper while the camera moves; the tint stays, and the+ tint alone is what keeps text at 4.5:1, so only the frosting pauses. */+.canvas-moving .term-node.term-node--glass {+ -webkit-backdrop-filter: none;+ backdrop-filter: none;+}.term-node.selected {border-color: var(--accent);