diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-27 22:41:19 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:14 -0300 |
| commit | 898c61ee7cddaade523885bb9b02a89678b00fcc (patch) | |
| tree | a9b27008a8b383a338b55cee87220fa869bbcaf7 /src/locations_cache.zig | |
| parent | 7ba54de4bd498c2a56ea3d0d43c88356759f7b1f (diff) | |
| download | pardes-898c61ee7cddaade523885bb9b02a89678b00fcc.tar.gz pardes-898c61ee7cddaade523885bb9b02a89678b00fcc.zip | |
Give the message log to Messages as its own fields
Not a pure move: state moves. Pardes's three message-log fields
(`messages: [message_log]LoggedMessage`, `messages_head`, `messages_len`)
become the fields of Messages.zig itself (`log`, `head`, `len`), and
Pardes embeds one as `messages: Messages = .{}`. messageLog reads only the
ring, so it now takes `m: *const Messages` and is called
`p.messages.messageLog(i)` (Output's +Messages view and the log test);
logMessage still needs the panes and the 9P event log, so it keeps
`p: *Pardes` and writes `p.messages.log/head/len`. No behaviour change.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/locations_cache.zig')
0 files changed, 0 insertions, 0 deletions
