Skip to content

Commit

Permalink
Update progress.zig
Browse files Browse the repository at this point in the history
  • Loading branch information
moderation authored Nov 21, 2023
1 parent 1832e2c commit 14570eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/progress.zig
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ pub const ProgressBar = struct {

pub fn init(allocator: std.mem.Allocator, stdout: std.fs.File) !Self {
const width = getScreenWidth(stdout.handle);
var buf = try std.ArrayList(u8).initCapacity(allocator, width + WIDTH_PADDING);
const buf = try std.ArrayList(u8).initCapacity(allocator, width + WIDTH_PADDING);
return Self{
.spinner = Spinner.init(),
.last_rendered = try std.time.Instant.now(),
Expand Down

0 comments on commit 14570eb

Please sign in to comment.