summaryrefslogtreecommitdiff
path: root/src/user/app/main.c
diff options
context:
space:
mode:
authordzwdz2022-07-14 17:10:40 +0200
committerdzwdz2022-07-14 17:10:40 +0200
commit22a3e004cdf41cb3a48d9087f8bf87e56cc4cbe9 (patch)
tree833f5f561ad2499bacbb9ee8f9129eb906d7e486 /src/user/app/main.c
parent81ac903ce39ae1c96d28da3d7af29f364296b4cf (diff)
user: basic terminal driver with line editing
Diffstat (limited to 'src/user/app/main.c')
-rw-r--r--src/user/app/main.c2
1 files changed, 2 insertions, 0 deletions
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);