fix: sticky scroll on tab switch - keep terminal at bottom after new output

Add isTerminalAtBottom() helper and modify batchTerminalWrite() to implement
sticky scroll behavior. When SSE terminal data arrives after tab switch,
terminal now stays scrolled to Claude input if user was already at bottom.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
arkon
2026-01-25 08:30:42 +01:00
co-authored by Claude Opus 4.5
parent fc97f6a41a
commit 9d42ff5bb6
3 changed files with 25 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "claudeman",
"version": "0.1349",
"version": "0.1350",
"description": "The missing control plane for Claude Code - run 20 autonomous agents with real-time monitoring and session persistence",
"type": "module",
"main": "dist/index.js",