1
Fork 0
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:
Andreas Kling 2019-03-14 17:39:50 +01:00
parent 1565dc3ab3
commit ee0f00c644
3 changed files with 41 additions and 1 deletions

View file

@ -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");