Commit e9729b9

Eric Bower  ·  2026-04-03 14:06:36 -0400 EDT
parent d48b642
docs: leader comment
1 files changed,  +2, -0
+2, -0
......@@ -336,6 +336,8 @@ const Daemon = struct {
336336 cfg: *Cfg,
337337 alloc: std.mem.Allocator,
338338 clients: std.ArrayList(*Client),
339+ // This control which client is the leader. The leader controls terminal state and
340+ // cols/rows of session.
339341 leader_client_fd: ?i32,
340342 session_name: []const u8,
341343 socket_path: []const u8,