feat: implement DEC mode 2026 synchronized output to reduce terminal flicker

- Server wraps SSE terminal batches with DEC 2026 sync markers
- Client extracts and strips markers, writes atomically via RAF batching
- Native terminals (WezTerm, Kitty, etc.) get full sync support
- xterm.js web gets application-layer sync via marker extraction

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
arkon
2026-01-25 22:09:45 +01:00
co-authored by Claude Opus 4.5
parent b811c8dc80
commit de5ee8643c
8 changed files with 531 additions and 19 deletions
+8 -1
View File
@@ -514,7 +514,14 @@
</div>
<div class="modal-footer">
<span class="run-summary-session-info" id="runSummarySessionInfo"></span>
<button class="btn-toolbar btn-sm" onclick="app.closeRunSummary()">Close</button>
<div class="modal-footer-actions">
<label class="auto-refresh-label">
<input type="checkbox" id="runSummaryAutoRefresh" onchange="app.toggleRunSummaryAutoRefresh()">
Auto-refresh
</label>
<button class="btn-toolbar btn-sm" onclick="app.refreshRunSummary()" title="Refresh summary">&#x21BB; Refresh</button>
<button class="btn-toolbar btn-sm" onclick="app.closeRunSummary()">Close</button>
</div>
</div>
</div>
</div>