diff options
Diffstat (limited to 'runtime/session.zig')
| -rw-r--r-- | runtime/session.zig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/session.zig b/runtime/session.zig index 5d7eff78..93b72deb 100644 --- a/runtime/session.zig +++ b/runtime/session.zig @@ -100,6 +100,7 @@ pub fn Loop(comptime Frontend: type) type { l.host = try fe.open(&l); defer fe.close(&l); + daemon.notesTo(l.fe, note); defer l.peers.deinit(); // Before the core goes: each client sees its link end. defer l.peers.dropAll(l.core); @@ -159,7 +160,7 @@ pub fn Loop(comptime Frontend: type) type { /// since the last one died told the shells' masters it held. pub fn watch(l: *L) void { if (daemon.relinked()) l.ptys.tellDaemon(); - daemon.watch(l.fe, note); + daemon.watch(); } fn note(ctx: *anyopaque, n: daemon.Note) void { |
