mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-09-05 19:08:17 +00:00
Follow-up to #7462: var -> let
This commit is contained in:
@@ -141,7 +141,7 @@ fileprivate func cgEventFlagsChangedHandler(
|
||||
guard let event: NSEvent = .init(cgEvent: cgEvent) else { return result }
|
||||
|
||||
// Build our event input and call ghostty
|
||||
var key_ev = event.ghosttyKeyEvent(GHOSTTY_ACTION_PRESS)
|
||||
let key_ev = event.ghosttyKeyEvent(GHOSTTY_ACTION_PRESS)
|
||||
if (ghostty_app_key(ghostty, key_ev)) {
|
||||
GlobalEventTap.logger.info("global key event handled event=\(event)")
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user