Stage 29B

This commit is contained in:
2026-04-14 18:28:29 +08:00
parent db4811a421
commit 81425929f5
9 changed files with 154 additions and 28 deletions

View File

@@ -128,8 +128,9 @@ static u64 clks_syscall_tty_write_char(u64 arg0) {
static u64 clks_syscall_kbd_get_char(void) {
char ch;
u32 tty_index = clks_exec_current_tty();
if (clks_keyboard_pop_char(&ch) == CLKS_FALSE) {
if (clks_keyboard_pop_char_for_tty(tty_index, &ch) == CLKS_FALSE) {
return (u64)-1;
}