feat: log effective reflow width

This commit is contained in:
CJ van den Berg 2026-02-02 12:11:00 +01:00
parent 919c87e988
commit 7b6e75cc9d
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -8,6 +8,8 @@ pub fn reflow(allocator: std.mem.Allocator, text: []const u8, width: usize) erro
var output: std.Io.Writer.Allocating = .init(allocator);
const writer = &output.writer;
std.log.info("reflow @{d}", .{width});
var first = true;
var line_len: usize = 0;
for (words) |word| {