From 4dfb6683cd84f64fe763cf81dc9b6638d6eb7014 Mon Sep 17 00:00:00 2001 From: Bakkeby Date: Mon, 24 Oct 2022 11:26:36 +0200 Subject: [PATCH] Adding the COLORTERM environment variable --- st.c | 1 + 1 file changed, 1 insertion(+) diff --git a/st.c b/st.c index 88fbd98..2009c6c 100644 --- a/st.c +++ b/st.c @@ -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);