show:降低进度条宽度,适应手机横屏情况。

This commit is contained in:
taynpg 2025-01-08 21:02:33 +08:00
parent ceaf50ad7f
commit 444db54ce8

View File

@ -123,7 +123,7 @@ void CTransProtocal::display_progress(float percent)
if (percent > 1.0 || percent < 0.0) {
return;
}
const int barWidth = 50;
const int barWidth = 38;
int pos = barWidth * percent;
std::cout << "[";