fix(FN-842): fix new-tab xterm lifecycle for immediate output rendering

- Fix xterm terminal lifecycle so new tabs render output immediately instead of showing blank
- Refactor terminal management: move open/close logic from AgentsView to AgentDetailView per-tab
- Simplify AgentsView and AgentListModal to delegate terminal creation to individual agent tabs
- Update TerminalModal to handle xterm init/resize lifecycle correctly
- Add regression tests for new-tab behavior while modal is already open
- Update README terminal section with new-tab rendering behavior docs
This commit is contained in:
gsxdsm
2026-04-04 06:28:02 -07:00
parent dd4f0994ae
commit c1f5e4bb4f
4 changed files with 341 additions and 11 deletions

View File

@@ -373,6 +373,7 @@ A fully interactive PTY-based terminal is available in the dashboard for executi
- Auto-resizing with zoom support (Ctrl++/-)
- Copy/paste via keyboard shortcuts
- Mobile virtual-keyboard-aware positioning - the terminal automatically adjusts its layout when a mobile virtual keyboard opens, keeping the command entry area visible
- Multiple terminal tabs with session persistence - newly created tabs render output immediately in the current modal session without needing to close and reopen
### Git Manager