diff --git a/lib/std/progress.zig b/lib/std/progress.zig index a66a8e097f..def438da79 100644 --- a/lib/std/progress.zig +++ b/lib/std/progress.zig @@ -178,7 +178,7 @@ pub const Progress = struct { if (windows.kernel32.SetConsoleCursorPosition(file.handle, cursor_pos) != windows.TRUE) unreachable; - } + } else unreachable; self.columns_written = 0; }