diff options
Diffstat (limited to 'term.zig')
| -rw-r--r-- | term.zig | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -114,6 +114,10 @@ greet: bool = false, cols: u16, rows: u16, +/// Raw bytes read from the pty and fed into ghostty. Dump/replay uses this as the +/// backend-neutral terminal recording instead of serialized rendered cells. +tty_stream: std.ArrayList(u8) = .empty, + /// vertical weight within the column (siblings split the column height by this). vweight: f32 = 1, @@ -186,6 +190,7 @@ pub fn deinit(self: *Term, io: std.Io, gpa: std.mem.Allocator) void { _ = self.reader.cancel(io) catch {}; self.pty.close(io); } + self.tty_stream.deinit(gpa); self.ed_undo.deinit(gpa); self.ed_redo.deinit(gpa); self.tag_tail.deinit(gpa); |
