提交 089cbca7 编写于 作者: A Alessio Sergi 提交者: Nicolas Hennion

Fix issue #265

上级 f557c622
......@@ -3380,7 +3380,7 @@ class glancesScreen:
# display the limits table
limits_table_x = self.help_x
limits_table_y = self.help_y + 2
limits_table_y = self.help_y + 1
self.term_window.addnstr(limits_table_y, limits_table_x + 18,
format(_("OK"), '^8'), 8,
self.default_color)
......@@ -3404,7 +3404,7 @@ class glancesScreen:
width = 8
limits_table_x = self.help_x + 2
limits_table_y = self.help_y + 3
limits_table_y = self.help_y + 2
for label in stat_labels:
self.term_window.addnstr(limits_table_y, limits_table_x,
format(label, '<14'), 14)
......@@ -3446,7 +3446,7 @@ class glancesScreen:
limits.getProcessCritical(stat='MEM')]]
limits_table_x = self.help_x + 15
limits_table_y = self.help_y + 3
limits_table_y = self.help_y + 2
for value in limit_values:
self.term_window.addnstr(
limits_table_y, limits_table_x,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册