fix: actually jump into restored session on reload, not just highlight tab

handleInit is called twice on page load (loadState + SSE init). The second
call cleared terminal state but skipped selectSession because activeSessionId
was still set from the first call. Now reset activeSessionId before
re-selecting so the terminal buffer always gets reloaded.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
arkon
2026-02-12 20:17:10 +01:00
co-authored by Claude Opus 4.6
parent f47ae4b80f
commit 82a0da035c
3 changed files with 13 additions and 6 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ When user says "COM":
1. Increment version in BOTH `package.json` AND `CLAUDE.md` (verify they match with `grep version package.json && grep Version CLAUDE.md`)
2. Run: `git add -A && git commit -m "chore: bump version to X.XXXX" && git push && npm run build && systemctl --user restart claudeman-web`
**Version**: 0.1491 (must match `package.json` for npm publish)
**Version**: 0.1492 (must match `package.json` for npm publish)
## Project Overview