aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/programs/sh.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/userspace/programs/sh.c')
-rw-r--r--src/userspace/programs/sh.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/userspace/programs/sh.c b/src/userspace/programs/sh.c
index bb1c9ea..12f8b2c 100644
--- a/src/userspace/programs/sh.c
+++ b/src/userspace/programs/sh.c
@@ -1,4 +1,7 @@
+#include <stdint.h>
#include <stdio.h>
+#include <stddef.h>
+#include <common.h>
#include <unistd.h>
#include <syscall.h>
#include <gui.h>
@@ -7,9 +10,12 @@ void main()
{
printf("[~] ");
- while (1) {
- putch(getch());
- }
+ /* while (1) { */
+ /* putch(getch()); */
+ /* } */
- syscall_halt();
+ /* syscall_halt(); */
+ while (1) {
+ //printf("A");
+ };
} \ No newline at end of file