mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
small comment changes
This commit is contained in:
@ -431,8 +431,8 @@ class AppDelegate: NSObject,
|
||||
}
|
||||
}
|
||||
|
||||
// If our reload adds global keybinds and we don't have ax permissions then
|
||||
// we need to request them.
|
||||
// We need to handle our global event tap depending on if there are global
|
||||
// events that we care about in Ghostty.
|
||||
if (ghostty_app_has_global_keybinds(ghostty.app!)) {
|
||||
if (timeSinceLaunch > 5) {
|
||||
// If the process has been running for awhile we enable right away
|
||||
|
@ -208,9 +208,6 @@ pub const App = struct {
|
||||
target: KeyTarget,
|
||||
event: KeyEvent,
|
||||
) !bool {
|
||||
// NOTE: If this is updated, take a look at Surface.keyCallback as well.
|
||||
// Their logic is very similar but not identical.
|
||||
|
||||
const action = event.action;
|
||||
const keycode = event.keycode;
|
||||
const mods = event.mods;
|
||||
|
Reference in New Issue
Block a user