mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-21 11:16:08 +03:00
config: use escaped encoding for macOS cmd+left/right
Fixes #3114 I forgot that the format gets parsed as a Zig string so putting it in already parsed made `+list-keybinds` incorrect. It worked either way but this fixes the `+list-keybinds` CLI action.
This commit is contained in:
@ -2542,12 +2542,12 @@ pub fn default(alloc_gpa: Allocator) Allocator.Error!Config {
|
||||
try result.keybind.set.put(
|
||||
alloc,
|
||||
.{ .key = .{ .translated = .right }, .mods = .{ .super = true } },
|
||||
.{ .text = "\x05" },
|
||||
.{ .text = "\\x05" },
|
||||
);
|
||||
try result.keybind.set.put(
|
||||
alloc,
|
||||
.{ .key = .{ .translated = .left }, .mods = .{ .super = true } },
|
||||
.{ .text = "\x01" },
|
||||
.{ .text = "\\x01" },
|
||||
);
|
||||
try result.keybind.set.put(
|
||||
alloc,
|
||||
|
Reference in New Issue
Block a user