diff options
Diffstat (limited to 'src/dump.zig')
| -rw-r--r-- | src/dump.zig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dump.zig b/src/dump.zig index fa21eaa4..ca3751f2 100644 --- a/src/dump.zig +++ b/src/dump.zig @@ -189,6 +189,8 @@ pub const Terminal = struct { /// replays faithfully only if it holds the whole session at one size. stream_is_screen: bool = false, cursor: Cursor = .{}, + /// Petscii on: its kitty graphics drawn as glyph art by choice. + petscii: bool = false, }; pub const LocationRow = struct { @@ -935,6 +937,7 @@ fn initDump(gpa: std.mem.Allocator, opts: Options, zon_bytes: []const u8, previo restored.command_status = t.status; } if (revive) p.emitSpawn(i, restored.serial, t.cwd); + if (t.petscii and pardes.panes.terminal.petscii(restored) == false) pardes.panes.terminal.togglePetscii(restored); break :terminal restored; }, .file => try pardes.panes.File.restore(p, i, src), |
