diff options
Diffstat (limited to 'src/Event.zig')
| -rw-r--r-- | src/Event.zig | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/Event.zig b/src/Event.zig index 88407c9f..bf27ff69 100644 --- a/src/Event.zig +++ b/src/Event.zig @@ -142,9 +142,12 @@ pub const Event = union(enum) { /// (docs/next-daemon.md, "Phase 6: GUI replica notes"): a window, which /// draws pictures itself and takes the GUI's own words, or a terminal. frontend: Frontend, - /// How the host's `addon` effect went: `text` the kind's name, or - /// why not (Kind.landed). Borrowed for the step. - addon: struct { op: @import("Kind.zig").AddonOp, pane: u8, ok: bool, text: []const u8 }, + /// What the host's `addon` effect read off a library, or why not + /// (Addon.landed). Borrowed for the step. + addon: struct { op: @import("Addon.zig").Op, pane: u8, kind: *const @import("Kind.zig").Loaded }, + /// A kind's job answered (host_io.Job), at its kind's generation then. + /// Borrowed for the step. + job: struct { pane: u8, serial: u32, token: u32, gen: u32, bytes: []const u8 }, tick, }; |
