From 22a3e004cdf41cb3a48d9087f8bf87e56cc4cbe9 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Thu, 14 Jul 2022 17:10:40 +0200 Subject: user: basic terminal driver with line editing --- src/user/app/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/user/app/main.c') diff --git a/src/user/app/main.c b/src/user/app/main.c index f87133e..ff47d4e 100644 --- a/src/user/app/main.c +++ b/src/user/app/main.c @@ -63,6 +63,7 @@ int main(void) { printf("couldn't open /kdev/com1\n"); _syscall_exit(1); } + termcook(); shell_loop(); _syscall_exit(1); @@ -78,6 +79,7 @@ int main(void) { printf("couldn't open /keyboard\n"); _syscall_exit(1); } + termcook(); shell_loop(); _syscall_exit(1); -- cgit v1.2.3