Adding the COLORTERM environment variable

This commit is contained in:
Bakkeby 2022-10-24 11:26:36 +02:00
parent 6ce9ec69ad
commit 4dfb6683cd
1 changed files with 1 additions and 0 deletions

1
st.c
View File

@ -951,6 +951,7 @@ execsh(char *cmd, char **args)
setenv("SHELL", sh, 1);
setenv("HOME", pw->pw_dir, 1);
setenv("TERM", termname, 1);
setenv("COLORTERM", "truecolor", 1);
signal(SIGCHLD, SIG_DFL);
signal(SIGHUP, SIG_DFL);