dew/packages/kanban/lib
Chris Hendrickson 46fffc91e1 fix(tui): stream-based event loop fixes Escape, adds auto-refresh, ? filter
- Replace blocking readKey() loop with async stdin stream + StreamController
  event bus. This fixes Escape (lone 0x1b batch vs ESC-sequence batch) and
  unlocks concurrent async work.
- Add _parseKeys() helper that decodes raw byte batches into Key values using
  the same logic as Console.readKey() but without blocking the event loop.
- Watch the kanban directory with Directory.watch() and debounce (350ms) to
  auto-refresh the board when tickets change on disk; replaces manual r reload.
- Change live-filter key from / to ? to avoid conflicts with shell history.
- Handle Ctrl+C as a clean quit in both board and detail mode.
- Seal _TuiEvent/_TuiKey/_TuiRefresh event hierarchy for type-safe dispatch.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-25 12:39:11 -04:00
..
src fix(tui): stream-based event loop fixes Escape, adds auto-refresh, ? filter 2026-04-25 12:39:11 -04:00
dew_kanban.dart Refactor filesystem access to package:file 2026-04-23 22:26:09 -04:00