mirror of
https://github.com/RGBCube/serenity
synced 2025-10-21 02:12:28 +00:00

Currently has some problems such as not killing jobs when (ctrl + c) and depends on an implementation of sigsuspend.
13 lines
336 B
Diff
13 lines
336 B
Diff
diff --git a/tty.c b/tty.c
|
|
index a72e5cd..96fa904 100644
|
|
--- a/tty.c
|
|
+++ b/tty.c
|
|
@@ -33,7 +33,7 @@ tty_init(int init_ttystate)
|
|
tty_close();
|
|
tty_devtty = 1;
|
|
|
|
- tfd = open("/dev/tty", O_RDWR, 0);
|
|
+ tfd = open("/dev/tty0", O_RDWR, 0);
|
|
if (tfd == -1) {
|
|
tty_devtty = 0;
|
|
warningf(false, "No controlling tty (open /dev/tty: %s)",
|