mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
core: ghostty_app_key only handles global keybinds for now
This introduces a separate bug fixes #2396
This commit is contained in:
@ -294,6 +294,9 @@ pub fn keyEvent(
|
|||||||
.leaf => |leaf| leaf,
|
.leaf => |leaf| leaf,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// We only care about global keybinds
|
||||||
|
if (!leaf.flags.global) return false;
|
||||||
|
|
||||||
// Perform the action
|
// Perform the action
|
||||||
self.performAllAction(rt_app, leaf.action) catch |err| {
|
self.performAllAction(rt_app, leaf.action) catch |err| {
|
||||||
log.warn("error performing global keybind action action={s} err={}", .{
|
log.warn("error performing global keybind action action={s} err={}", .{
|
||||||
|
Reference in New Issue
Block a user