mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-02-01 01:24:35 +00:00
macos: remove the ability to bind fn/globe
This was recently introduced a few days ago. Unfortunately, this doesn't work as expected. The "function" modifier is not actually the fn key but used by macOS to represent a variety of "functional" key presses. This breaks other bindings such as #2411. I can't find a source on the internet that reliably tells me how we can detect fn key presses, but I do find a number of sources that tell us we can't.
This commit is contained in:
@@ -88,13 +88,12 @@ typedef enum {
|
||||
GHOSTTY_MODS_CTRL = 1 << 1,
|
||||
GHOSTTY_MODS_ALT = 1 << 2,
|
||||
GHOSTTY_MODS_SUPER = 1 << 3,
|
||||
GHOSTTY_MODS_FN = 1 << 4,
|
||||
GHOSTTY_MODS_CAPS = 1 << 5,
|
||||
GHOSTTY_MODS_NUM = 1 << 6,
|
||||
GHOSTTY_MODS_SHIFT_RIGHT = 1 << 7,
|
||||
GHOSTTY_MODS_CTRL_RIGHT = 1 << 8,
|
||||
GHOSTTY_MODS_ALT_RIGHT = 1 << 9,
|
||||
GHOSTTY_MODS_SUPER_RIGHT = 1 << 10,
|
||||
GHOSTTY_MODS_CAPS = 1 << 4,
|
||||
GHOSTTY_MODS_NUM = 1 << 5,
|
||||
GHOSTTY_MODS_SHIFT_RIGHT = 1 << 6,
|
||||
GHOSTTY_MODS_CTRL_RIGHT = 1 << 7,
|
||||
GHOSTTY_MODS_ALT_RIGHT = 1 << 8,
|
||||
GHOSTTY_MODS_SUPER_RIGHT = 1 << 9,
|
||||
} ghostty_input_mods_e;
|
||||
|
||||
typedef enum {
|
||||
|
||||
Reference in New Issue
Block a user