mirror of
https://github.com/nicolargo/glances.git
synced 2024-11-28 05:42:57 +03:00
Process display, first draft
This commit is contained in:
parent
d947d6e029
commit
de47a8920c
@ -56,3 +56,17 @@ class Plugin(GlancesPlugin):
|
||||
|
||||
return self.stats
|
||||
|
||||
def msg_curse(self, args=None):
|
||||
"""
|
||||
Return the string to display in the curse interface
|
||||
"""
|
||||
|
||||
# Init the return message
|
||||
ret = []
|
||||
|
||||
# Build the string message
|
||||
# 23 is the padding for the process list
|
||||
msg = _("{0:23}").format(self.stats)
|
||||
ret.append(self.curse_add_line(msg))
|
||||
|
||||
return ret
|
Loading…
Reference in New Issue
Block a user