Memory Usage Display Inaccuracy Due to Lack of Decimal Points
muhac opened this issue · comments
Muhan Li commented
Feature Request
Is your feature request related to a problem? Please describe.
The current implementation of memory usage display in memory_usage.rs does not retain decimal points, leading to inaccurate results.
starship/src/modules/memory_usage.rs
Lines 15 to 27 in 9d22010
My server has 1.9GiB memory, but when displayed, it only shows 1GiB
.
Describe the solution you'd like
The memory usage should include decimal points for better accuracy.
Describe alternatives you've considered
It would be great to make it configurable.