summaryrefslogtreecommitdiff
path: root/src/exec.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/exec.zig')
-rw-r--r--src/exec.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exec.zig b/src/exec.zig
index e2b9f880..86adfeeb 100644
--- a/src/exec.zig
+++ b/src/exec.zig
@@ -430,7 +430,7 @@ fn runCommand(p: *Pardes, from: usize, line: []const u8) ?usize {
var buf: [command_max + 8]u8 = undefined;
const lead = if (panes.Terminal.gridCursor(pane).x != 0) "\r\n" else "";
panes.Terminal.feedOutput(p, pane, std.fmt.bufPrint(&buf, "{s}% {s}\r\n", .{ lead, line }) catch "%\r\n");
- p.emit(.{ .spawn = .{ .pane = @intCast(id), .cwd = .from(pane.cwdSlice()) } });
+ p.emit(.{ .spawn = .{ .pane = @intCast(id), .serial = pane.serial, .cwd = .from(pane.cwdSlice()) } });
noteRun(p, pane, "run", line);
return id;
}