From 1685f2d0b9e3e90fd4efe0bea365ef0dfe2ba42e Mon Sep 17 00:00:00 2001 From: starnakin Date: Sat, 7 Sep 2024 14:18:04 +0200 Subject: [PATCH] add: print keypressed --- libbozo | 2 +- src/kernel.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/libbozo b/libbozo index 4fd5ae3..69caa70 160000 --- a/libbozo +++ b/libbozo @@ -1 +1 @@ -Subproject commit 4fd5ae3a6528cbeff4730af4128b4872ef6f66ea +Subproject commit 69caa70c38aac2894265887d61223e35aeed5f27 diff --git a/src/kernel.c b/src/kernel.c index 338468e..447ba7b 100644 --- a/src/kernel.c +++ b/src/kernel.c @@ -23,4 +23,6 @@ void kernel_main(void) /* Newline support is left as an exercise. */ kprintf(0, "test %d a %d b %d\n", 10, 2, 3); + while (true) + terminal_getkey(); }