mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 08:46:08 +03:00
forgot commit to get #1363 building to new API
This commit is contained in:
@ -50,7 +50,10 @@ pub fn run(alloc: Allocator) !u8 {
|
|||||||
defer config.deinit();
|
defer config.deinit();
|
||||||
|
|
||||||
const stdout = std.io.getStdOut().writer();
|
const stdout = std.io.getStdOut().writer();
|
||||||
try config.keybind.formatEntryDocs(opts.docs, configpkg.entryFormatter("keybind", stdout));
|
try config.keybind.formatEntryDocs(
|
||||||
|
configpkg.entryFormatter("keybind", stdout),
|
||||||
|
opts.docs,
|
||||||
|
);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -2818,7 +2818,7 @@ pub const Keybinds = struct {
|
|||||||
|
|
||||||
/// Used by Formatter
|
/// Used by Formatter
|
||||||
pub fn formatEntry(self: Keybinds, formatter: anytype) !void {
|
pub fn formatEntry(self: Keybinds, formatter: anytype) !void {
|
||||||
try self.formatEntryDocs(false, formatter);
|
try self.formatEntryDocs(formatter, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
test "parseCLI" {
|
test "parseCLI" {
|
||||||
|
Reference in New Issue
Block a user