mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:37:35 +00:00
Terminal: Use TERM=xterm by default, and implement some more escapes.
This commit is contained in:
parent
1565dc3ab3
commit
ee0f00c644
3 changed files with 41 additions and 1 deletions
|
@ -65,7 +65,7 @@ static void make_shell(int ptm_fd)
|
|||
exit(1);
|
||||
}
|
||||
char* args[] = { "/bin/sh", nullptr };
|
||||
char* envs[] = { "TERM=vt100", nullptr };
|
||||
char* envs[] = { "TERM=xterm", nullptr };
|
||||
rc = execve("/bin/sh", args, envs);
|
||||
if (rc < 0) {
|
||||
perror("execve");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue