From 3eb166e287ec5afbd54b03a86711610e1b5269b6 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 10 Nov 2026 05:48:20 -0300 Subject: panes: exec.noteRun and exec.commandDone become Pane methods (pane.noteRun, pane.commandDone) at the end of the Pane struct, beside the command_* fields they keep, since they act on one command pane; commandDone takes the pane its two callers in Core already hold, with its id for the close and the report, in place of looking it up again Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- src/ninep/pty.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ninep') diff --git a/src/ninep/pty.zig b/src/ninep/pty.zig index 8514c669..7333fac7 100644 --- a/src/ninep/pty.zig +++ b/src/ninep/pty.zig @@ -418,7 +418,7 @@ pub fn shellExited(p: *Pardes, pane: *Pane, status: ?u8) void { }; var buf: [4]u8 = undefined; // unreachable: a u8 exit code is at most 3 digits - pardes.exec.noteRun(p, pane, "exit", std.fmt.bufPrint(&buf, "{d}", .{code}) catch unreachable); + pane.noteRun(p, "exit", std.fmt.bufPrint(&buf, "{d}", .{code}) catch unreachable); } /// The pane closed or its shell was replaced: the command's end will never -- cgit v1.3