summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/main.c b/main.c
index 510894e..81fd5c9 100644
--- a/main.c
+++ b/main.c
@@ -80,9 +80,11 @@ int printcores(char* proc_data) {
printf("+---+%s+---+%s+---+%s+---+\n", SPACE, SPACE, SPACE);
}
for (int i = 0; i < remainder; i++) {
- }
- for (int i = 0; i < core_num; i++) {
- printf("+---+\n| |\n+---+\n");
+ printf("+---+\n");
+ printf("|%s|\n", PROCSPACE);
+ printf("+---+");
+ repos();
+ move(1 + 40 + fullcpurows * 3, 1 + i * 5 * 2);
}
return 0;
}