Merge pull request #2294 from qwerasd205/sequoia-ctrl-return

macOS: prevent ctrl-return key equivalent
This commit is contained in:
Mitchell Hashimoto
2024-09-23 20:59:43 -07:00
committed by GitHub

View File

@ -692,6 +692,11 @@ extension Ghostty {
// sound and we don't like the beep sound.
equivalent = "_"
case "\r":
// Pass C-<return> through verbatim
// (prevent the default context menu equivalent)
equivalent = "\r"
default:
// Ignore other events
return false