summaryrefslogtreecommitdiffstats
path: root/glances/glances.py
diff options
context:
space:
mode:
authorAlessio Sergi <al3hex@gmail.com>2014-01-09 12:12:06 +0100
committerAlessio Sergi <al3hex@gmail.com>2014-01-09 12:12:06 +0100
commit0fff5180b4e60a12a5d526b507c5c9bffa1ea586 (patch)
tree5ce4a6dbcc9ff548dbfd2134c1b27702a0ff79cd /glances/glances.py
parent0ba2cfa6c3edb59e7ecf548934bdb406c93e0f43 (diff)
Adjust spaces in the tasks summary line
Diffstat (limited to 'glances/glances.py')
-rw-r--r--glances/glances.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/glances/glances.py b/glances/glances.py
index 864fd65c..51061b09 100644
--- a/glances/glances.py
+++ b/glances/glances.py
@@ -3432,10 +3432,10 @@ class glancesScreen:
thread = '?'
# Display the summary
self.term_window.addnstr(self.process_y, process_x, _("Tasks"),
- 9, self.title_color if self.hascolors else
+ 5, self.title_color if self.hascolors else
curses.A_UNDERLINE)
self.term_window.addnstr(
- self.process_y, process_x + 8,
+ self.process_y, process_x + 7,
'{0:>3} ({1:>3} {2}), {3:>2} {4}, {5:>3} {6}, {7:>2} {8}'.format(
str(processcount['total']),
str(thread),
@@ -3445,7 +3445,7 @@ class glancesScreen:
str(processcount['sleeping']),
_("slp"),
str(other),
- _("oth")), 42)
+ _("oth")), 38)
# Sort info
# self.getProcessSortedBy() -> User sort choice
@@ -3455,8 +3455,8 @@ class glancesScreen:
else:
sortmsg = _("sorted by ") + sortedby
if (screen_y > self.process_y + 4 and
- screen_x > process_x + 49 + len(sortmsg)):
- self.term_window.addnstr(self.process_y, 76, sortmsg, len(sortmsg))
+ screen_x > process_x + 48 + len(sortmsg)):
+ self.term_window.addnstr(self.process_y, 73, sortmsg, len(sortmsg))
#*************************
# Monitored processes list