diff options
| author | Mitchell Hashimoto <m@mitchellh.com> | 2024-10-07 14:34:38 -1000 |
|---|---|---|
| committer | Mitchell Hashimoto <m@mitchellh.com> | 2024-10-07 14:36:12 -1000 |
| commit | ed2cd6d4369d38e84ea7d371ce0138fbfe3a2848 (patch) | |
| tree | e4c76ced2769406af8d8c34498171ddb016eb62d /src/input/KeyEncoder.zig | |
| parent | 3e3c666244633d4d4a738f9da63d2d29f1896c7f (diff) | |
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.
Diffstat (limited to 'src/input/KeyEncoder.zig')
| -rw-r--r-- | src/input/KeyEncoder.zig | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/input/KeyEncoder.zig b/src/input/KeyEncoder.zig index 9236eacec..25d85e78d 100644 --- a/src/input/KeyEncoder.zig +++ b/src/input/KeyEncoder.zig @@ -35,8 +35,6 @@ pub fn encode( self: *const KeyEncoder, buf: []u8, ) ![]const u8 { - // log.debug("encode {}", .{self.*}); - if (self.kitty_flags.int() != 0) return try self.kitty(buf); return try self.legacy(buf); } |
