tier3: contracts + tests for 12 remaining modules (all 39 files now have Contracts)
Some checks failed
Deploy (Gitea) / deploy (push) Failing after 3s

This commit is contained in:
2026-05-05 12:36:42 -04:00
parent dcb5a1f1a6
commit a34b598858
21 changed files with 474 additions and 39 deletions

View File

@@ -6,6 +6,17 @@
Pure render functions. Each takes a Croatoan window and current state.
State is read via ~(st :key)~ — no mutation here.
** Contract
1. (view-status win): renders the status bar with connection info,
version, and timestamp.
2. (view-chat win): renders the scrolled chat message list. Messages
are color-coded: green (user), white (agent), yellow (system).
3. (view-input win): renders the input line with cursor and typing
indicator.
4. (redraw scr chat-win status-win input-win): dispatches redraws
based on ~(st :dirty)~ flags. Minimizes terminal writes.
** Status Bar
#+begin_src lisp
(in-package :passepartout.gateway-tui)