Merge branch 'load-whitespace'
This commit is contained in:
commit
1fe9a33252
@ -41,7 +41,7 @@ std::string load_string( bool use_colors = false )
|
||||
|
||||
if( getloadavg( averages, nelem ) < 0 )
|
||||
{
|
||||
ss << "0.00 0.00 0.00"; // couldn't get averages.
|
||||
ss << " 0.00 0.00 0.00"; // couldn't get averages.
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -57,6 +57,7 @@ std::string load_string( bool use_colors = false )
|
||||
ss << load_lut[load_percent];
|
||||
}
|
||||
|
||||
ss << ' ';
|
||||
for( int i = 0; i < nelem; ++i )
|
||||
{
|
||||
// Round to nearest, make sure this is only a 0.00 value not a 0.0000
|
||||
|
@ -155,7 +155,7 @@ int main( int argc, char** argv )
|
||||
}
|
||||
|
||||
std::cout << mem_string( use_colors )
|
||||
<< cpu_string( cpu_usage_delay, graph_lines, use_colors ) << ' '
|
||||
<< cpu_string( cpu_usage_delay, graph_lines, use_colors )
|
||||
<< load_string( use_colors );
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
|
Loading…
Reference in New Issue
Block a user