diff --git a/src/keybind/builtin/flow.json b/src/keybind/builtin/flow.json index b27c000e..d9462d42 100644 --- a/src/keybind/builtin/flow.json +++ b/src/keybind/builtin/flow.json @@ -603,7 +603,8 @@ ["alt+x", "open_command_palette"], ["alt+!", "run_task"], ["alt+f9", "panel_next_widget_style"], - ["ctrl+shift+q", "quit_without_saving"] + ["ctrl+shift+q", "quit_without_saving"], + ["ctrl+alt+shift+r", "restart"] ] } } diff --git a/src/tui/terminal_view.zig b/src/tui/terminal_view.zig index 89c6a2fa..a6fc4129 100644 --- a/src/tui/terminal_view.zig +++ b/src/tui/terminal_view.zig @@ -316,6 +316,7 @@ const Vt = struct { } self.vt.deinit(); self.env.deinit(); + std.log.debug("terminal: vt destroyed", .{}); } pub fn resize(self: *@This(), pos: Widget.Box) void { @@ -366,6 +367,7 @@ const pty = struct { self.parser.buf.deinit(); self.parent.deinit(); self.allocator.destroy(self); + std.log.debug("terminal: pty destroyed", .{}); } fn start(self: *@This()) tp.result {