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
Notes:
sideshowbarker
2024-07-19 12:38:35 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/c029f398951
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
Reference in a new issue