an open-source alternative to the dots, bots and muses of the world, run an office of claude code/codex like agents on your laptop, sandboxes or anywhere, uses your existing subscriptions
HTML agent-harnessagent-orchestrationagentsai-agentsautonomous-agentsclaude-codecodexcoding-agentsdesktop-appdeveloper-toolselectrongemini-cliharnessharness-engineeringlocal-firstmemorymulti-agentopencodeorchestrationtypescript
fix: skip redundant pty resizes - boot banner no longer stacks in scrollback
Gulumc609ac7b13d6
diff --git a/src/renderer/src/components/PtyTerminalView.tsx b/src/renderer/src/components/PtyTerminalView.tsxindex 58d77612..732dff21 100644--- a/src/renderer/src/components/PtyTerminalView.tsx+++ b/src/renderer/src/components/PtyTerminalView.tsx@@ -158,8 +158,16 @@ export function PtyTerminalView({ ptyId, onStreamData, onUserPrompt, onToggleFul// up to read history back down to the bottom.const tryFit = (scrollToEnd = false) => {try {+ const before = { cols: entry.term.cols, rows: entry.term.rows };entry.fit.fit();- window.cth.resizePty(ptyId, entry.term.cols, entry.term.rows);+ // Only poke the pty when the grid ACTUALLY changed: every resize makes+ // the Claude TUI repaint its whole screen, and each repaint pushes the+ // previous frame into scrollback — the attach-time refit cascade (rAF,+ // 60ms, 240ms, font-load) used to stack the boot banner three times+ // before the user ever typed anything.+ if (entry.term.cols !== before.cols || entry.term.rows !== before.rows) {+ window.cth.resizePty(ptyId, entry.term.cols, entry.term.rows);+ }entry.term.refresh(0, Math.max(0, entry.term.rows - 1));} catch { /* host may not be sized yet */ }if (scrollToEnd) {