Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

fix(ide): hide the hollow cursor box in unfocused terminal panes

rubenluetke10-beep9996ddb6dbf8
diff --git a/jarvis/ui/web/frontend/src/components/agentic/AgenticTerminal.tsx b/jarvis/ui/web/frontend/src/components/agentic/AgenticTerminal.tsx
index 7b2dc21ce2..6dcb052b7b 100644
--- a/jarvis/ui/web/frontend/src/components/agentic/AgenticTerminal.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentic/AgenticTerminal.tsx
@@ -884,8 +884,8 @@ export function AgenticTerminal({
// Only the focused pane's cursor blinks. A blinking cursor repaints its pane
// twice a second forever, and on a wall of a dozen idle terminals that was
- // the renderer's biggest standing cost (CPU diet, 2026-08-22). The unfocused
- // panes keep a steady cursor, so where the agent is typing stays visible.
+ // the renderer's biggest standing cost (CPU diet, 2026-08-22). Unfocused
+ // panes draw no cursor at all — see `cursorInactiveStyle` below.
useEffect(() => {
const term = termRef.current;
if (term) term.options.cursorBlink = focused;
@@ -983,6 +983,10 @@ export function AgenticTerminal({
// Only the focused pane blinks — see the `focused` effect above.
cursorBlink: focusedRef.current,
cursorStyle: "bar",
+ // xterm's default for a terminal without keyboard focus is a hollow box.
+ // On a wall of panes that box sat in every idle prompt and read as a
+ // stray glyph; the agent's own prompt already marks where input goes.
+ cursorInactiveStyle: "none",
scrollback: 10000,
// Required by the Unicode 11 width provider below.
allowProposedApi: true,