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.

fix(terminal): glass stands down while a shared glyph grid is mounted

iceclatterWT2af383e121ea
diff --git a/src/renderer/nodes/TerminalNode.tsx b/src/renderer/nodes/TerminalNode.tsx
index a5ffa3055..ef11ce057 100644
--- a/src/renderer/nodes/TerminalNode.tsx
+++ b/src/renderer/nodes/TerminalNode.tsx
@@ -5299,6 +5299,9 @@ export function TerminalNode({
// markdown view's hint names the action instead of promising a chord that never fires.
const mdChip = chipFor('node.toggleMarkdown')
+ // The experimental shared glyph renderer paints text on a canvas BELOW the nodes, so a glass
+ // tint would sit on top of every glyph: glass stands down while a grid is mounted.
+ const glassOn = glassVars !== null && !glyphMounted
return (
<>
{/* Sibling of the root: .term-node is overflow:hidden and would clip the half-pill. */}
@@ -5309,10 +5312,10 @@ export function TerminalNode({
}${status?.state === 'working' ? ' working' : ''}${
status?.state === 'waiting' || status?.state === 'blocked' ? ' attention' : ''
}${glyphMounted ? ' term-node--glyphgrid' : ''}${focused ? ' term-node--focused' : ''}${
- glassVars ? ' term-node--glass' : ''
+ glassOn ? ' term-node--glass' : ''
}`}
ref={rootRef}
- style={glassVars ? { ...glassVars, borderTopColor: data.color } : { borderTopColor: data.color }}
+ style={glassOn ? { ...glassVars, borderTopColor: data.color } : { borderTopColor: data.color }}
onMouseEnter={() => (hoveredRef.current = true)}
onMouseLeave={() => (hoveredRef.current = false)}
>