diff --git a/src/ascii.zig b/src/ascii.zig index c733bc0..29848b3 100644 --- a/src/ascii.zig +++ b/src/ascii.zig @@ -65,7 +65,7 @@ test "parse ffffff" { try std.testing.expect((result.r == 255) and (result.g == 255) and (result.b == 255)); } -pub fn printAscii(allocator: std.mem.Allocator, ascii_art_path: ?[]u8, sys_info_list: std.array_list.Managed([]u8)) !void { +pub fn printAsciiAndModules(allocator: std.mem.Allocator, ascii_art_path: ?[]u8, sys_info_list: std.array_list.Managed([]u8)) !void { var stdout_buffer: [2048]u8 = undefined; var stdout_writer = std.fs.File.stdout().writer(&stdout_buffer); const stdout = &stdout_writer.interface; diff --git a/src/main.zig b/src/main.zig index 6698619..289dd4a 100644 --- a/src/main.zig +++ b/src/main.zig @@ -70,5 +70,5 @@ pub fn main() !void { } } - try ascii.printAscii(allocator, config.getAsciiPath(conf), modules_list); + try ascii.printAsciiAndModules(allocator, config.getAsciiPath(conf), modules_list); }