Skip to content

Commit

Permalink
ProgressBar: fix X/Y mixup
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKellermann committed Sep 2, 2024
1 parent 8212cd2 commit 4d247fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ProgressBar.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ ProgressBar::Paint() const noexcept
if (width > 0)
window.HLine({0, 0}, width, '=');

window.Char({0, (int)width}, '>');
window.Char({(int)width, 0}, '>');
unsigned x = width + 1;

if (x < window_width) {
Expand Down

0 comments on commit 4d247fb

Please sign in to comment.