xxxserxxx / gotop

A terminal based graphical activity monitor inspired by gtop and vtop
Other
2.76k stars 140 forks source link

Only render mem info when its total > 0 #154

Closed aofei closed 3 years ago

aofei commented 3 years ago

I'm used to keeping gotop stuck in my terminal. The Swap in the Memory Usage always attracts my attention. It's always Swap 0% 0.0B/0B, but it's always there, taking up my precious screen space (my coding device is an iPad Pro 12.9"). So I think maybe we should consider not rendering it when there is no actual swap here.

xxxserxxx commented 3 years ago

Looks good; thanks for the contribution!