szaghi / forbear

Fortran (progress) B(e)ar envinronment
40 stars 6 forks source link

Unexpected behaviour when Max_value is higher than 99 #9

Open Diegoolei opened 2 weeks ago

Diegoolei commented 2 weeks ago

When Max_value is higher than 99 the bar only shows ***** instead of the actual number image Actual code:

      lt1 = 100
      call bar%initialize(filled_char_string='+', prefix_string='Progress |',&
         suffix_string='| ', add_progress_percent=.true.,&
         min_value=real(1,kind=8), max_value=real(lt1, kind=8),&
         add_progress_speed=.true., progress_speed_color_fg='green',&
         add_date_time=.true., date_time_color_fg='magenta', add_scale_bar=.true.,&
         scale_bar_color_fg='blue', scale_bar_style='underline_on')