mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
@ -703,6 +703,13 @@ extension Ghostty {
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Only process events if we're focused. Some key events like C-/ macOS
|
||||||
|
// appears to send to the first view in the hierarchy rather than the
|
||||||
|
// the first responder (I don't know why). This prevents us from handling it.
|
||||||
|
if (!focused) {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
let equivalent: String
|
let equivalent: String
|
||||||
switch (event.charactersIgnoringModifiers) {
|
switch (event.charactersIgnoringModifiers) {
|
||||||
case "/":
|
case "/":
|
||||||
|
Reference in New Issue
Block a user