feat: log effective reflow width
This commit is contained in:
parent
919c87e988
commit
7b6e75cc9d
1 changed files with 2 additions and 0 deletions
|
|
@ -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| {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue