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

@@ -7201,7 +7201,10 @@ body {
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
position: absolute;
inset: 0;
z-index: 2;
background: #1e1e1e;
gap: var(--space-lg);
color: var(--text-muted);
}