macos: add reload configuration to the Ghostty menu bar

This commit is contained in:
Mitchell Hashimoto
2023-09-11 13:49:20 -07:00
parent 4c0871b6dc
commit 711e3a5043
4 changed files with 37 additions and 15 deletions

View File

@@ -588,6 +588,11 @@ pub fn default(alloc_gpa: Allocator) Allocator.Error!Config {
.{ .key = .q, .mods = .{ .super = true } },
.{ .quit = {} },
);
try result.keybind.set.put(
alloc,
.{ .key = .comma, .mods = .{ .super = true, .shift = true } },
.{ .reload_config = {} },
);
try result.keybind.set.put(
alloc,