summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--contrib/top/display.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/top/display.c b/contrib/top/display.c
index 0b1226c..3fca57b 100644
--- a/contrib/top/display.c
+++ b/contrib/top/display.c
@@ -452,6 +452,7 @@ for (cpu = 0; cpu < num_cpus; cpu++) {
lastline++;
/* now walk thru the names and print the line */
+ Move_to(cpustates_column, y_cpustates + cpu);
while ((thisname = *names++) != NULL)
{
if (*thisname != '\0')
@@ -543,6 +544,7 @@ for (cpu = 0; cpu < num_cpus; cpu++) {
printf("\nCPU %d: ", cpu);
lastline++;
+ Move_to(cpustates_column, y_cpustates + cpu);
while ((thisname = *names++) != NULL)
{
if (*thisname != '\0')
OpenPOWER on IntegriCloud