diff options
author | Josh <joshua.liu@sourceobby.com> | 2025-01-22 11:34:54 -0500 |
---|---|---|
committer | Josh <joshua.liu@sourceobby.com> | 2025-01-22 11:34:54 -0500 |
commit | 355a640004ed33097555d88cc2dac9cdf75427b2 (patch) | |
tree | e740ffcf285298952b18cbda1d685880145cc083 | |
parent | 429b9aff5f1347be5ebbe118680ee699c3b5e908 (diff) |
feat: finished printing cores, might need some adjustments latermaster
-rw-r--r-- | main.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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; } |