-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
give CREDITS to @aristocratos for new sponsorship (thank you ;))
Signed-off-by: Giampaolo Rodola <g.rodola@gmail.com>
- Loading branch information
Showing
3 changed files
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8687a11
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@giampaolo
Well I am relying pretty heavily on psutil for https://github.com/aristocratos/bpytop so seems like a good idea to pay forward some of the sponsorship I get to you :)
8687a11
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice tool you got there. Had no idea curses lib (I guess it's curses?) could be pushed so far in terms of GUI programming. Thanks again.
8687a11
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aristocratos
8687a11
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@giampaolo
Thanks :)
I wrote it from scratch since I ported it from my previous project https://github.com/aristocratos/bashtop (written in bash), so It's basically alot of escape codes and a couple small functions for colouring and buffering text i/o.
8687a11
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aristocratos
Unbelievable!
8687a11
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aristocratos compare my wrapper around escape codes LOL
psutil/psutil/_common.py
Lines 781 to 797 in 40abe5c
8687a11
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@giampaolo
Yeah, bashtop snowballed a bit out of proportion, was just supposed to be a mockup of the ui for a gtop clone :P
Well, would be a bit overkill with 24-bit color and gradients for highlithing :)