From 0c92cd8b8ff0d148d3ec8883de3ee7009a5b7be5 Mon Sep 17 00:00:00 2001 From: CJ van den Berg Date: Tue, 23 Dec 2025 13:48:44 +0100 Subject: [PATCH] feat: add toggle_command_logging command --- src/tui/tui.zig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/tui/tui.zig b/src/tui/tui.zig index b498101..92265f7 100644 --- a/src/tui/tui.zig +++ b/src/tui/tui.zig @@ -1127,6 +1127,11 @@ const cmds = struct { } pub const toggle_keybind_hints_meta: Meta = .{ .description = "Toggle keybind hints" }; + pub fn toggle_command_logging(_: *Self, _: Ctx) Result { + command.log_execute = !command.log_execute; + } + pub const toggle_command_logging_meta: Meta = .{ .description = "Toggle logging of executed commands" }; + pub fn scroll_keybind_hints(_: *Self, _: Ctx) Result { @import("keyhints.zig").scroll(); }