diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-27 21:59:17 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:14 -0300 |
| commit | fc2bc13e9f45099d4e2fe086e2a52aab7de8ad5c (patch) | |
| tree | 49c023eefdd8bb3cc0c7377cd3af256cf3491340 /src/colors.zig | |
| parent | 49b24196de1afe33023f0129a3d64bdc9775f1af (diff) | |
| download | pardes-fc2bc13e9f45099d4e2fe086e2a52aab7de8ad5c.tar.gz pardes-fc2bc13e9f45099d4e2fe086e2a52aab7de8ad5c.zip | |
Move the message row out of pardes.zig into Messages.zig
Pure move, no behaviour change: the Message stamp helpers, LoggedMessage,
setStatus, setMessage, showMessage, dismissMessage, dismissLine,
advanceMessages, advanceLine, messagesAnimating, MessageMotion,
messageFrames, messageMotion, noticeText, noticeLife, blendRgb,
logMessage, messageLog, reportError, the notice painters (leaderText,
noticeCols, Printed, printRight), collectNotices, and the six message
tests go verbatim to Messages.zig.
The methods become free functions taking `p: *Pardes`. setStatus,
setMessage and reportError are called from ~170 places as `p.setMessage(..)`,
so Pardes keeps three declaration aliases (`pub const setMessage =
Messages.setMessage;`) and those call sites stay as they are; every other
call changes from `p.x(..)` to `Messages.x(p, ..)` (46 of them). The five
shells' `pardes.Pardes.Message` become `pardes.Messages.Message`. The
message ring's fields stay on Pardes for now; moving them into Messages is
a separate change.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/colors.zig')
0 files changed, 0 insertions, 0 deletions
