Compare commits

...

2 commits

2 changed files with 4 additions and 1 deletions

View file

@ -603,7 +603,8 @@
["alt+x", "open_command_palette"], ["alt+x", "open_command_palette"],
["alt+!", "run_task"], ["alt+!", "run_task"],
["alt+f9", "panel_next_widget_style"], ["alt+f9", "panel_next_widget_style"],
["ctrl+shift+q", "quit_without_saving"] ["ctrl+shift+q", "quit_without_saving"],
["ctrl+alt+shift+r", "restart"]
] ]
} }
} }

View file

@ -316,6 +316,7 @@ const Vt = struct {
} }
self.vt.deinit(); self.vt.deinit();
self.env.deinit(); self.env.deinit();
std.log.debug("terminal: vt destroyed", .{});
} }
pub fn resize(self: *@This(), pos: Widget.Box) void { pub fn resize(self: *@This(), pos: Widget.Box) void {
@ -366,6 +367,7 @@ const pty = struct {
self.parser.buf.deinit(); self.parser.buf.deinit();
self.parent.deinit(); self.parent.deinit();
self.allocator.destroy(self); self.allocator.destroy(self);
std.log.debug("terminal: pty destroyed", .{});
} }
fn start(self: *@This()) tp.result { fn start(self: *@This()) tp.result {