summaryrefslogtreecommitdiff
path: root/core/dump.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/dump.zig')
-rw-r--r--core/dump.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/dump.zig b/core/dump.zig
index c3742a21..5fd933b9 100644
--- a/core/dump.zig
+++ b/core/dump.zig
@@ -500,7 +500,7 @@ fn loadImage(gpa: std.mem.Allocator, opts: Options, bytes: []const u8, notes: ?*
fn ensureKind(p: *Pardes, pane: *pardes.panes.Pane) !void {
if (pane.terminal != null or pane.file != null or pane.addon != null or pane.pdf != null) return;
if (p.tape.authorityOnly("open a terminal")) return error.OutOfMemory;
- pane.terminal = try pardes.Term.open(pardes.panes.emulatorGpa(p.gpa), @max(1, pane.cols), @max(1, pane.rows));
+ pane.terminal = try pardes.Term.open(&p.outside, pardes.panes.emulatorGpa(p.gpa), @max(1, pane.cols), @max(1, pane.rows));
}
/// The panes a column lists that are not there (another build's dump left
@@ -674,7 +674,7 @@ fn revivePane(p: *Pardes, id: usize, pane: *pardes.panes.Pane, was_on_disk: bool
// shell was, ran and said is gone with it (the REPL it ran, the
// Term+ word naming it), and the pane waits for the new one like
// any new terminal (a line queued for the old one goes to it).
- pardes.Term.revive(pane.terminal.?);
+ pardes.Term.revive(&p.outside, pane.terminal.?);
pane.shell_spoke = false;
pane.had_shell = false;
pane.shell_failed = false;