mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-08-26 09:01:44 +00:00
cli/list-fonts: dumb implementation
This commit is contained in:
@@ -49,10 +49,9 @@ pub const Action = enum {
|
||||
|
||||
/// Run the action. This returns the exit code to exit with.
|
||||
pub fn run(self: Action, alloc: Allocator) !u8 {
|
||||
_ = alloc;
|
||||
return switch (self) {
|
||||
.version => try version.run(),
|
||||
.@"list-fonts" => try list_fonts.run(),
|
||||
.@"list-fonts" => try list_fonts.run(alloc),
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user