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 handle our global event tap depending on if there are global
|
||||||
// we need to request them.
|
// events that we care about in Ghostty.
|
||||||
if (ghostty_app_has_global_keybinds(ghostty.app!)) {
|
if (ghostty_app_has_global_keybinds(ghostty.app!)) {
|
||||||
if (timeSinceLaunch > 5) {
|
if (timeSinceLaunch > 5) {
|
||||||
// If the process has been running for awhile we enable right away
|
// If the process has been running for awhile we enable right away
|
||||||
|
@ -208,9 +208,6 @@ pub const App = struct {
|
|||||||
target: KeyTarget,
|
target: KeyTarget,
|
||||||
event: KeyEvent,
|
event: KeyEvent,
|
||||||
) !bool {
|
) !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 action = event.action;
|
||||||
const keycode = event.keycode;
|
const keycode = event.keycode;
|
||||||
const mods = event.mods;
|
const mods = event.mods;
|
||||||
|
Reference in New Issue
Block a user