Shell: Don't start a new session in every new shell
The session should be started at a higher level, i.e the Terminal app.
This commit is contained in:
parent
f309381d4e
commit
c303f55b60
Notes:
sideshowbarker
2024-07-19 09:50:10 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/c303f55b606
2 changed files with 0 additions and 2 deletions
|
@ -36,7 +36,6 @@ struct GlobalState {
|
|||
String home;
|
||||
char ttyname[32];
|
||||
char hostname[32];
|
||||
pid_t sid;
|
||||
uid_t uid;
|
||||
struct termios termios;
|
||||
struct termios default_termios;
|
||||
|
|
|
@ -877,7 +877,6 @@ int main(int argc, char** argv)
|
|||
}
|
||||
|
||||
g.uid = getuid();
|
||||
g.sid = setsid();
|
||||
tcsetpgrp(0, getpgrp());
|
||||
tcgetattr(0, &g.default_termios);
|
||||
g.termios = g.default_termios;
|
||||
|
|
Loading…
Add table
Reference in a new issue