tier3: contracts + tests for 12 remaining modules (all 39 files now have Contracts)
Some checks failed
Deploy (Gitea) / deploy (push) Failing after 3s
Some checks failed
Deploy (Gitea) / deploy (push) Failing after 3s
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user