mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
correct default keybinding cmd+backspace for macOS (#4249)
This produces the following keybind, which I believe was intended. > keybind = cmd+backspace=text:\x15 Matches the cmd+left and cmd+right which are a few lines up. #3679 #3646
This commit is contained in:
@ -2807,7 +2807,7 @@ pub fn default(alloc_gpa: Allocator) Allocator.Error!Config {
|
|||||||
try result.keybind.set.put(
|
try result.keybind.set.put(
|
||||||
alloc,
|
alloc,
|
||||||
.{ .key = .{ .translated = .backspace }, .mods = .{ .super = true } },
|
.{ .key = .{ .translated = .backspace }, .mods = .{ .super = true } },
|
||||||
.{ .esc = "\x15" },
|
.{ .text = "\\x15" },
|
||||||
);
|
);
|
||||||
try result.keybind.set.put(
|
try result.keybind.set.put(
|
||||||
alloc,
|
alloc,
|
||||||
|
Reference in New Issue
Block a user