hermes-agent/ui-tui/src/app
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
..
slash chore: uptick 2026-04-16 14:48:29 -05:00
createGatewayEventHandler.ts feat(tui): honest status 'starting agent…' until session.info arrives 2026-04-16 15:41:44 -05:00
createSlashHandler.ts refactor(tui): stop shadowing python — slash fallback inherits worker output 2026-04-16 14:26:15 -05:00
gatewayContext.tsx feat: add inline token count etc and fix venv 2026-04-15 10:20:56 -05:00
interfaces.ts refactor(tui): store-driven turn state + slash registry + module split 2026-04-16 12:34:45 -05:00
overlayStore.ts feat: refactor by splitting up app and doing proper state 2026-04-14 22:30:18 -05:00
turnController.ts refactor(tui): store-driven turn state + slash registry + module split 2026-04-16 12:34:45 -05:00
turnStore.ts refactor(tui): store-driven turn state + slash registry + module split 2026-04-16 12:34:45 -05:00
uiStore.ts refactor(tui): store-driven turn state + slash registry + module split 2026-04-16 12:34:45 -05:00
useComposerState.ts refactor(tui): store-driven turn state + slash registry + module split 2026-04-16 12:34:45 -05:00
useConfigSync.ts refactor(tui): store-driven turn state + slash registry + module split 2026-04-16 12:34:45 -05:00
useInputHandlers.ts refactor(tui): store-driven turn state + slash registry + module split 2026-04-16 12:34:45 -05:00
useLongRunToolCharms.ts refactor(tui): store-driven turn state + slash registry + module split 2026-04-16 12:34:45 -05:00
useMainApp.ts feat(tui): uniform selection background instead of SGR inverse 2026-04-16 15:50:28 -05:00
useSessionLifecycle.ts feat(tui): honest status 'starting agent…' until session.info arrives 2026-04-16 15:41:44 -05:00
useSubmission.ts feat(tui): queue pre-session input, auto-flush when session lands 2026-04-16 15:04:18 -05:00