From 6785f886ad26d22e5f4f2caa40500db1be6e3f6c Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 6 Oct 2024 09:32:07 -1000 Subject: [PATCH] core: ghostty_app_key only handles global keybinds for now This introduces a separate bug fixes #2396 --- src/App.zig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/App.zig b/src/App.zig index df305ae45..7e82bf007 100644 --- a/src/App.zig +++ b/src/App.zig @@ -294,6 +294,9 @@ pub fn keyEvent( .leaf => |leaf| leaf, }; + // We only care about global keybinds + if (!leaf.flags.global) return false; + // Perform the action self.performAllAction(rt_app, leaf.action) catch |err| { log.warn("error performing global keybind action action={s} err={}", .{