Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only render mem info when its total > 0 #154

Merged
merged 1 commit into from
Nov 23, 2020
Merged

Only render mem info when its total > 0 #154

merged 1 commit into from
Nov 23, 2020

Conversation

aofei
Copy link

@aofei aofei commented Nov 22, 2020

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 xxxserxxx merged commit ad8adfd into xxxserxxx:master Nov 23, 2020
@xxxserxxx
Copy link
Owner

Looks good; thanks for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants