mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-18 13:30:29 +00:00
Just a quick follow-up to #7462: I noticed Swift was admonishing me about a `var` that could be a `let`, and realized that it was I who had failed to make that change. Apologies for the noise.
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