summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
author諏訪子 <suwako@076.moe>2024-06-18 19:12:24 +0900
committer諏訪子 <suwako@076.moe>2024-06-18 19:12:24 +0900
commitb48f40f863c80c9f8394cfd5e8c3716191611888 (patch)
treea9ee6502cd5771bc0ed3a336e9b5cfdeaba86e63 /main.c
parent79285280a55c9a420947620ae20d327563f9ce78 (diff)
パッケージ情報の追加
Diffstat (limited to 'main.c')
-rw-r--r--main.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/main.c b/main.c
index 69a62fe..6a13b72 100644
--- a/main.c
+++ b/main.c
@@ -12,6 +12,7 @@
#if defined(__OpenBSD__)
#include "src/recording.h"
#endif
+#include "src/packages.h"
#include "src/cpu.h"
#include "src/memory.h"
@@ -114,6 +115,12 @@ int main(int argc, char *argv[]) {
#endif
printf("%s ", LOGO[lc]);
+ printf(COLOR"%s%s"RESET, "Packages", ": ");
+ display_packages();
+ printf("\n");
+ lc++;
+
+ printf("%s ", LOGO[lc]);
printf(COLOR"%s%s"RESET, "CPU", ": ");
display_cpu();
printf("\n");