feat(ui): add terminal font controls and session duration

- Add font size controls (A+/A-) with keyboard shortcuts (Ctrl++/-)
- Add session duration display in session cards
- Persist font size preference in localStorage
- Add periodic session re-render to update durations
- Update terminal welcome message with new shortcuts
- Update README keyboard shortcuts documentation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
arkon
2026-01-18 22:11:43 +01:00
co-authored by Claude Opus 4.5
parent f8b84a9465
commit c60f416d4b
4 changed files with 100 additions and 0 deletions
+5
View File
@@ -235,6 +235,11 @@
<div class="output-header">
<h2>Terminal</h2>
<div class="output-actions">
<div class="font-controls">
<button class="btn btn-xs" onclick="app.decreaseFontSize()" title="Decrease font size (Ctrl+-)">A-</button>
<span class="font-size-display" id="fontSizeDisplay">14px</span>
<button class="btn btn-xs" onclick="app.increaseFontSize()" title="Increase font size (Ctrl+=)">A+</button>
</div>
<button class="btn btn-sm" onclick="app.clearTerminal()">Clear</button>
</div>
</div>