hermes-agent/ui-tui/src/lib
talmax1124 671b1b058e test(tui): extract resize coalescer into a unit-tested helper
Pull the inline leading+trailing resize throttle out of useMainApp into
createResizeCoalescer (src/lib/resizeCoalescer.ts) and cover it directly
with fake-timer tests: leading-edge immediacy, burst collapse to one
trailing reflow, fresh leading edge after the window, cancel() dropping a
pending reflow, and sustained-drag staying ~one reflow per interval.

Also seed lastReflow at -Infinity instead of 0 so the leading edge fires on
the first event independent of the wall clock (the inline version only
worked because Date.now() is large at runtime).
2026-06-30 16:47:39 -07:00
..
circularBuffer.ts
clipboard.ts style(desktop,tui): fix all lint/type/formatting issues 2026-06-26 01:04:33 -05:00
editor.test.ts
editor.ts feat(journey): edit/delete in TUI overlay and desktop star map 2026-06-30 15:07:24 -05:00
emoji.ts
externalCli.ts
externalLink.ts style(desktop,tui): fix all lint/type/formatting issues 2026-06-26 01:04:33 -05:00
forceTruecolor.ts fix(tui): harden Terminal.app render behavior 2026-05-16 22:51:51 -05:00
fpsStore.ts
fuzzy.test.ts style(desktop,tui): fix all lint/type/formatting issues 2026-06-26 01:04:33 -05:00
fuzzy.ts feat: fuzzy search for the model picker (WebUI + TUI) 2026-06-01 16:58:58 -07:00
gracefulExit.ts fix(tui): restart dashboard chat on idle exit hotkeys 2026-06-19 12:02:22 +05:30
history.ts
inputMetrics.ts fix(tui): preserve transcript tail across resizes 2026-05-23 17:37:42 -05:00
liveProgress.test.ts
liveProgress.ts
mathUnicode.ts style(desktop,tui): fix all lint/type/formatting issues 2026-06-26 01:04:33 -05:00
memory.test.ts style(desktop,tui): fix all lint/type/formatting issues 2026-06-26 01:04:33 -05:00
memory.ts fix(tui): guard automatic heap dumps against disk fill 2026-06-08 02:20:49 -07:00
memoryMonitor.ts style(desktop,tui): fix all lint/type/formatting issues 2026-06-26 01:04:33 -05:00
messages.test.ts
messages.ts
openExternalUrl.test.ts
openExternalUrl.ts
osc52.ts change(tooling): typecheck in CI, update ts to 6 2026-06-10 11:59:34 -04:00
parentLog.ts style(desktop,tui): fix all lint/type/formatting issues 2026-06-26 01:04:33 -05:00
perfPane.tsx
platform.ts style(desktop,tui): fix all lint/type/formatting issues 2026-06-26 01:04:33 -05:00
precisionWheel.ts
prompt.ts style(desktop,tui): fix all lint/type/formatting issues 2026-06-26 01:04:33 -05:00
reasoning.ts fix(tui): anchor splitReasoning unclosed-tag regex to start of input (#29426) 2026-05-20 14:09:38 -05:00
resizeCoalescer.test.ts test(tui): extract resize coalescer into a unit-tested helper 2026-06-30 16:47:39 -07:00
resizeCoalescer.ts test(tui): extract resize coalescer into a unit-tested helper 2026-06-30 16:47:39 -07:00
rpc.ts style(desktop,tui): fix all lint/type/formatting issues 2026-06-26 01:04:33 -05:00
starmapPalette.ts fix(journey): swap skill/memory inks so drillable rows read as clickable 2026-06-30 11:54:16 -05:00
subagentTree.ts fix: stop reporting cache-hit rate and cost across all UI surfaces (#52717) 2026-06-25 15:21:22 -07:00
syntax.ts
terminalModes.ts style(desktop,tui): fix all lint/type/formatting issues 2026-06-26 01:04:33 -05:00
terminalParity.ts
terminalSetup.ts
termux.ts style(desktop,tui): fix all lint/type/formatting issues 2026-06-26 01:04:33 -05:00
text.test.ts style(desktop,tui): fix all lint/type/formatting issues 2026-06-26 01:04:33 -05:00
text.ts style(desktop,tui): fix all lint/type/formatting issues 2026-06-26 01:04:33 -05:00
todo.test.ts
todo.ts
viewportStore.ts
virtualHeights.ts style(desktop,tui): fix all lint/type/formatting issues 2026-06-26 01:04:33 -05:00
wheelAccel.ts