diff options
Diffstat (limited to 'core/panes.zig')
| -rw-r--r-- | core/panes.zig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/panes.zig b/core/panes.zig index 5277ebba..2f561d05 100644 --- a/core/panes.zig +++ b/core/panes.zig @@ -134,6 +134,11 @@ pub const Pane = struct { /// cell), and its kitty graphics drawn as glyph art (Petscii). term_mouse: ?Term.Coordinate = null, term_petscii: bool = false, + /// Whether its terminal holds a kitty image, as the session's emulator + /// said after its program's last output (taped under screen state: a + /// client's emulator is fed the session's cells, never an image). Its + /// tag says so (tagline.zig), on every side. + term_images: bool = false, gpa: std.mem.Allocator, serial: u32 = 0, /// What the control filesystem keeps of this pane -- addr and limit, the @@ -1279,6 +1284,7 @@ pub fn teardownPane(p: *Pardes, pane: *Pane) void { pane.input.deinit(p.gpa); pane.jump.deinit(p.gpa); pane.places.deinit(p.gpa); + @import("jj.zig").forget(p, pane.serial); if (pane.query) |q| { q.deinit(p.gpa); p.gpa.destroy(q); |
