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(agentic-ide): new Claude Code panes keep the person's own renderer (#800)

Ruben Lütkea72edd7de131
diff --git a/dodaios/agentic_ide/pane_sessions.py b/dodaios/agentic_ide/pane_sessions.py
index f30562b3ad..1802fdabdb 100644
--- a/dodaios/agentic_ide/pane_sessions.py
+++ b/dodaios/agentic_ide/pane_sessions.py
@@ -52,12 +52,10 @@ def settings_file() -> Path:
# installs and cmd on others; a quoted forward-slash path works in both.
command = f'"{_interpreter().as_posix()}" "{script.as_posix()}"'
settings = {
- # The classic renderer, whatever the user's own settings say: with
- # ``CLAUDE_CODE_NO_FLICKER`` on, Claude Code takes the alternate screen
- # and keeps the conversation inside its own UI, so the pane's terminal
- # has no history and its scrollbar no position to show. Settings given
- # with ``--settings`` outrank the user's, and only these panes get them.
- "env": {"CLAUDE_CODE_NO_FLICKER": "0"},
+ # No renderer override: a pane runs Claude Code the way the person set
+ # it up. Forcing the classic renderer (for an exact scrollbar) made new
+ # panes look cramped next to full-screen ones (reported 2026-10-20);
+ # on the full-screen renderer the scrollbar falls back to app mode.
"hooks": {
"SessionStart": [{"hooks": [{"type": "command", "command": command, "timeout": 10}]}]
}
diff --git a/dodaios/ui/web/frontend/src/components/agentic/PaneScrollbar.tsx b/dodaios/ui/web/frontend/src/components/agentic/PaneScrollbar.tsx
index cea19d4c5f..d291206207 100644
--- a/dodaios/ui/web/frontend/src/components/agentic/PaneScrollbar.tsx
+++ b/dodaios/ui/web/frontend/src/components/agentic/PaneScrollbar.tsx
@@ -18,9 +18,9 @@
* track halves, which step and page. (A centred "jog" grip shipped first and
* was read as "you are in the middle" while the pane sat at its end.)
*
- * The panes start Claude Code and Codex in their classic renderers (see
- * `pane_sessions.settings_file` and the Codex `launch_args`), so they normally
- * run in `history` mode; `app` mode remains for other full-screen CLIs.
+ * Codex panes start with `--no-alt-screen` (see its `launch_args`) and run in
+ * `history` mode. Claude Code keeps the person's own renderer, so it runs in
+ * `app` mode when their `CLAUDE_CODE_NO_FLICKER` is on.
*
* Wheel notches are only ever sent while the CLI reports the mouse. On an
* alternate screen WITHOUT mouse reporting xterm turns a wheel into arrow keys,
diff --git a/tests/unit/agentic_ide/test_pane_sessions.py b/tests/unit/agentic_ide/test_pane_sessions.py
index 2eecbd4725..3dd37bd7f4 100644
--- a/tests/unit/agentic_ide/test_pane_sessions.py
+++ b/tests/unit/agentic_ide/test_pane_sessions.py
@@ -113,11 +113,11 @@ async def test_a_reboot_resumes_the_conversation_after_clear(
assert "launch-id" not in argv
-def test_settings_file_turns_claudes_fullscreen_renderer_off(tmp_path, monkeypatch):
- """A pane's terminal must hold the conversation, or its scrollbar has no position."""
+def test_settings_file_keeps_the_users_renderer(tmp_path, monkeypatch):
+ """A pane must not override the person's own Claude Code renderer choice."""
import json
monkeypatch.setattr(pane_sessions, "_state_dir", lambda: tmp_path / "state")
data = json.loads(pane_sessions.settings_file().read_text(encoding="utf-8"))
- assert data["env"]["CLAUDE_CODE_NO_FLICKER"] == "0"
+ assert "CLAUDE_CODE_NO_FLICKER" not in data.get("env", {})
assert "SessionStart" in data["hooks"]