mirror of
https://github.com/RGBCube/serenity
synced 2025-07-10 03:37:35 +00:00
SystemServer: Don't spawn a TTYServer on on /dev/tty0
tty0 receives input while WindowServer is up, which meant that having a shell on tty0 would cause commands typed into Terminal to run twice, once in Terminal's shell, and once on the tty0 shell. Long term we shouldn't send input to any VirtualConsole while the WindowServer is up, so this just fixes the immediate weirdness. :^)
This commit is contained in:
parent
da7ae52eee
commit
c029f39895
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ int main(int, char**)
|
|||
start_process("/bin/mount", "-a", highest_prio);
|
||||
wait(nullptr);
|
||||
|
||||
start_process("/bin/TTYServer", "tty0", highest_prio, "/dev/tty0");
|
||||
// NOTE: We don't start anything on tty0 since that's the "active" TTY while WindowServer is up.
|
||||
start_process("/bin/TTYServer", "tty1", highest_prio, "/dev/tty1");
|
||||
start_process("/bin/TTYServer", "tty2", highest_prio, "/dev/tty2");
|
||||
start_process("/bin/TTYServer", "tty3", highest_prio, "/dev/tty3");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue