mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 00:32:35 +01:00
modules/console: Fix table alignment.
This commit is contained in:
parent
ff7fbdf99e
commit
6311739917
1 changed files with 5 additions and 5 deletions
|
@ -1382,7 +1382,7 @@ try
|
||||||
<< " "
|
<< " "
|
||||||
<< std::setw(9) << capacity
|
<< std::setw(9) << capacity
|
||||||
<< " "
|
<< " "
|
||||||
<< std::setw(5) << std::right << std::fixed << std::setprecision(2) << (usage_pct * 100)
|
<< std::setw(6) << std::right << std::fixed << std::setprecision(2) << (usage_pct * 100)
|
||||||
<< "%"
|
<< "%"
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
|
|
||||||
|
@ -1397,13 +1397,13 @@ try
|
||||||
<< " "
|
<< " "
|
||||||
<< std::setw(9) << "CAPACITY"
|
<< std::setw(9) << "CAPACITY"
|
||||||
<< " "
|
<< " "
|
||||||
<< std::setw(5) << " PCT"
|
<< std::setw(6) << " PCT"
|
||||||
<< " "
|
<< " "
|
||||||
<< std::setw(9) << " COMPRESS"
|
<< std::setw(9) << " COMPRESS"
|
||||||
<< " "
|
<< " "
|
||||||
<< std::setw(9) << "CAPACITY"
|
<< std::setw(9) << "CAPACITY"
|
||||||
<< " "
|
<< " "
|
||||||
<< std::setw(5) << " PCT"
|
<< std::setw(6) << " PCT"
|
||||||
<< " "
|
<< " "
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
|
|
||||||
|
@ -1420,13 +1420,13 @@ try
|
||||||
<< " "
|
<< " "
|
||||||
<< std::setw(9) << capacity
|
<< std::setw(9) << capacity
|
||||||
<< " "
|
<< " "
|
||||||
<< std::setw(5) << std::right << std::fixed << std::setprecision(2) << (usage_pct * 100)
|
<< std::setw(6) << std::right << std::fixed << std::setprecision(2) << (usage_pct * 100)
|
||||||
<< "% "
|
<< "% "
|
||||||
<< std::setw(9) << usage_comp
|
<< std::setw(9) << usage_comp
|
||||||
<< " "
|
<< " "
|
||||||
<< std::setw(9) << capacity_comp
|
<< std::setw(9) << capacity_comp
|
||||||
<< " "
|
<< " "
|
||||||
<< std::setw(5) << std::right << std::fixed << std::setprecision(2) << (usage_comp_pct * 100)
|
<< std::setw(6) << std::right << std::fixed << std::setprecision(2) << (usage_comp_pct * 100)
|
||||||
<< "%"
|
<< "%"
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
}};
|
}};
|
||||||
|
|
Loading…
Reference in a new issue