diff options
Diffstat (limited to 'src/Core.zig')
| -rw-r--r-- | src/Core.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Core.zig b/src/Core.zig index 643ba4ae..c5187616 100644 --- a/src/Core.zig +++ b/src/Core.zig @@ -1277,7 +1277,7 @@ pub fn shellFailed(p: *Pardes, id: u8, err: anyerror) void { // hears one, its tag stops saying it runs, and Kill finds nothing. if (pane.command != null and !pane.command_done) { pane.command_pty = false; - exec.commandDone(p, id, 127); + pane.commandDone(p, id, 127); } else if (pane.command == null and !pane.had_shell) { // A Term whose shell never ran: no dead pane left behind; the // write that asked for it has failed with why. A terminal whose @@ -1607,7 +1607,7 @@ pub fn update(p: *Pardes, ev: Event) void { if (pane.command == null) ctlfs.pty.shellExited(p, pane, e.status) else if (!pane.command_done) - exec.commandDone(p, e.pane, e.status); + pane.commandDone(p, e.pane, e.status); }, .eof => |e| if (p.panes[e.pane]) |pane| if (pane.command != null) { // Output is over; the command is over when its child exits. |
