Skip to content

Commit

Permalink
Slight tweak to normal CLI progrssbar.
Browse files Browse the repository at this point in the history
  • Loading branch information
navv1234 committed Apr 15, 2017
1 parent 2848339 commit c007c4a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions engine/sim/sc_progress_bar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,10 @@ void progress_bar_t::output( bool finished )
char delim = sim.progressbar_type == 1 ? '\t' : ' ';
char terminator = ( sim.progressbar_type == 1 || finished ) ? '\n' : '\r';
std::stringstream s;
if ( sim.progressbar_type == 0 )
{
s << "Generating ";
}

s << sim.sim_progress_base_str;
// Separate base and phase by a colon for easier parsing
Expand Down

0 comments on commit c007c4a

Please sign in to comment.