summaryrefslogtreecommitdiff
path: root/userland/terminal/term.c
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2023-10-23 00:49:03 +0200
committerAnton Kling <anton@kling.gg>2023-10-23 00:54:23 +0200
commite8643790b093a4b25651aff14b85c492ffcae3f2 (patch)
treed7ad995ea0271f0c512d55fe46b60f29fb3c62f4 /userland/terminal/term.c
parent3f6da777b78485a7e769c4e7f06f4c691dea0655 (diff)
WindowServer: Launch a new terminal by pressing ALT+n
Diffstat (limited to 'userland/terminal/term.c')
-rw-r--r--userland/terminal/term.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/userland/terminal/term.c b/userland/terminal/term.c
index 8a2ae83..2bc4a02 100644
--- a/userland/terminal/term.c
+++ b/userland/terminal/term.c
@@ -147,12 +147,6 @@ void run() {
int main(void) {
open("/dev/serial", O_RDWR, 0);
open("/dev/serial", O_RDWR, 0);
- printf("running the terminal\n");
- int pid = fork();
- if (0 == pid) {
- char *argv[] = {NULL};
- execv("/ws", argv);
- }
global_w = GUI_CreateWindow(20, 20, 250 * 4, 150 * 4);
assert(global_w);