From 3214725e586118f3ec941fb9d798db8bd9976fbd Mon Sep 17 00:00:00 2001 From: utox39 Date: Wed, 10 Sep 2025 14:29:14 +0200 Subject: [PATCH] refactor: rename a function --- src/ascii.zig | 2 +- src/main.zig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); }