From 355a640004ed33097555d88cc2dac9cdf75427b2 Mon Sep 17 00:00:00 2001 From: Josh Date: Wed, 22 Jan 2025 11:34:54 -0500 Subject: feat: finished printing cores, might need some adjustments later --- main.c | 8 +++++--- 1 file 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; } -- cgit v1.2.3