From 4d247fb8ee54d59d0c894c20349b620f2623a8f6 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 2 Sep 2024 15:03:11 +0200 Subject: [PATCH] ProgressBar: fix X/Y mixup --- src/ProgressBar.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ProgressBar.cxx b/src/ProgressBar.cxx index a2b64976..10587693 100644 --- a/src/ProgressBar.cxx +++ b/src/ProgressBar.cxx @@ -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) {