Skip to content

Commit 5420cf8

Browse files
authored
Merge pull request #91 from assistcontrol/master
Increase CPU percent width by 1 (fixes #81)
2 parents b2c6cd4 + 2b19ca8 commit 5420cf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/main.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ std::string cpu_string( CPU_MODE cpu_mode, unsigned int cpu_usage_delay, unsigne
8686
oss << get_graph_by_percentage( unsigned( percentage ), graph_lines );
8787
oss << "]";
8888
}
89-
oss.width( 5 );
89+
oss.width( 6 );
9090
oss.setf( std::ios::fixed, std::ios::floatfield );
9191
oss.precision( 1 );
9292
oss.fill( ' ' );

0 commit comments

Comments
 (0)