hermes-agent/ui-tui/src
Brooklyn Nicholson 275256cdb4 feat(tui): uniform selection background instead of SGR inverse
Selection was falling back to SGR-7 inverse (fg ↔ bg per cell), which
fragments over syntax-highlighted content — each amber/gold/dim/cornsilk
fg turned into a different bg stripe, producing the staircase look.

Now `useMainApp` calls `selection.setSelectionBgColor()` with a muted
navy (`#3a3a55`) on theme change. `setSelectionBg` in screen.ts replaces
just the bg cell-by-cell while preserving fg/bold/dim/italic, so the
highlight is one solid color across the whole drag range and the text
stays readable in its original color.

Skins can override via `selection_bg` in their color map.
2026-04-16 15:50:28 -05:00
..
__tests__ refactor(tui): store-driven turn state + slash registry + module split 2026-04-16 12:34:45 -05:00
app feat(tui): uniform selection background instead of SGR inverse 2026-04-16 15:50:28 -05:00
components perf(tui): async session.create — sid live in ~250ms instead of ~1350ms 2026-04-16 15:39:19 -05:00
config refactor(tui): store-driven turn state + slash registry + module split 2026-04-16 12:34:45 -05:00
content refactor(tui): store-driven turn state + slash registry + module split 2026-04-16 12:34:45 -05:00
domain refactor(tui): store-driven turn state + slash registry + module split 2026-04-16 12:34:45 -05:00
hooks chore: uptick 2026-04-15 23:29:00 -05:00
lib refactor(tui): store-driven turn state + slash registry + module split 2026-04-16 12:34:45 -05:00
protocol refactor(tui): store-driven turn state + slash registry + module split 2026-04-16 12:34:45 -05:00
types fix: scrolling while selecting 2026-04-14 12:50:22 -05:00
app.tsx refactor(tui): store-driven turn state + slash registry + module split 2026-04-16 12:34:45 -05:00
banner.ts
…
bootBanner.ts perf(tui): paint banner to stdout in ~2ms, before Ink loads 2026-04-16 15:48:41 -05:00
entry.tsx perf(tui): paint banner to stdout in ~2ms, before Ink loads 2026-04-16 15:48:41 -05:00
gatewayClient.ts feat: just more cleaning 2026-04-15 14:14:01 -05:00
gatewayTypes.ts chore: uptick 2026-04-16 14:48:29 -05:00
theme.ts feat(tui): uniform selection background instead of SGR inverse 2026-04-16 15:50:28 -05:00
types.ts feat: just more cleaning 2026-04-15 14:14:01 -05:00