summaryrefslogtreecommitdiff
path: root/src/dump.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/dump.zig')
-rw-r--r--src/dump.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dump.zig b/src/dump.zig
index 976344b6..3c5decdd 100644
--- a/src/dump.zig
+++ b/src/dump.zig
@@ -420,7 +420,7 @@ fn loadImage(gpa: std.mem.Allocator, opts: Options, bytes: []const u8, notes: ?*
/// A pane that is none of its kinds (a terminal kept slim, or one another
/// build's dump could not give): a terminal, a new emulator for its shell.
fn ensureKind(p: *Pardes, pane: *pardes.panes.Pane) !void {
- if (pane.terminal != null or pane.file != null or pane.image != null or pane.hasPdf()) return;
+ if (pane.terminal != null or pane.file != null or pane.addon != null or pane.hasPdf()) return;
const fresh = try pardes.panes.terminal.create(p.gpa, @max(1, pane.cols), @max(1, pane.rows));
pane.terminal = fresh.terminal;
fresh.terminal = null;