From 7e6454020ed1143e05e83a683606f318995458e5 Mon Sep 17 00:00:00 2001 From: Alex AUVOLAT Date: Fri, 18 May 2012 16:16:07 +0200 Subject: Can now spawn new processes. --- src/kernel/ui/vt.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/kernel/ui') diff --git a/src/kernel/ui/vt.cpp b/src/kernel/ui/vt.cpp index 48a2da4..2869fec 100644 --- a/src/kernel/ui/vt.cpp +++ b/src/kernel/ui/vt.cpp @@ -215,6 +215,7 @@ int vt::read(size_t offset, size_t len, char* buffer) { } if (end || c == len) return c; + if (kbd_waiter != 0) return c; kbd_waiter = current_thread; thread_goInactive(); } -- cgit v1.2.3