Closed MokoSan closed 2 years ago
As a heads up, this PR extends the behavior @NickCraver added for https://github.com/Maoni0/realmon/pull/3.
Thanks for the feedback! LOL - I used the range syntax in one spot but didn't in the other; glad you caught that!
thanks @MokoSan! I'll merge this now. I'm actually taking the rest of the day off so I will look at your other PR tomorrow. so glad to see your contributions! 🙂
Added the optional
stats_mode
configuration for printing heap stats on a timer.The format of the period of the timer is given by a period magnitude that's an
int
and a period type that's eitherm
to represent minutes ors
to represent seconds.An example of the configuration is:
If the stats_mode isn't specified, the user can still press
s
to manually display the heap stats.