0
0
Fork 0
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:
Jason Volk 2018-09-03 03:43:25 -07:00
parent ff7fbdf99e
commit 6311739917

View file

@ -1382,7 +1382,7 @@ try
<< " "
<< 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;
@ -1397,13 +1397,13 @@ try
<< " "
<< std::setw(9) << "CAPACITY"
<< " "
<< std::setw(5) << " PCT"
<< std::setw(6) << " PCT"
<< " "
<< std::setw(9) << " COMPRESS"
<< " "
<< std::setw(9) << "CAPACITY"
<< " "
<< std::setw(5) << " PCT"
<< std::setw(6) << " PCT"
<< " "
<< std::endl;
@ -1420,13 +1420,13 @@ try
<< " "
<< 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) << 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;
}};