Merge pull request #91 from assistcontrol/master

Increase CPU percent width by 1 (fixes #81)
This commit is contained in:
Matt McCormick 2023-03-16 20:59:59 -04:00 committed by GitHub
commit 5420cf8696
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -86,7 +86,7 @@ std::string cpu_string( CPU_MODE cpu_mode, unsigned int cpu_usage_delay, unsigne
oss << get_graph_by_percentage( unsigned( percentage ), graph_lines ); oss << get_graph_by_percentage( unsigned( percentage ), graph_lines );
oss << "]"; oss << "]";
} }
oss.width( 5 ); oss.width( 6 );
oss.setf( std::ios::fixed, std::ios::floatfield ); oss.setf( std::ios::fixed, std::ios::floatfield );
oss.precision( 1 ); oss.precision( 1 );
oss.fill( ' ' ); oss.fill( ' ' );