core: ghostty_app_key only handles global keybinds for now

This introduces a separate bug fixes #2396
This commit is contained in:
Mitchell Hashimoto
2024-10-06 09:32:07 -10:00
parent 50b52da638
commit 6785f886ad

View File

@ -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={}", .{