aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-18 12:29:40 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-18 12:29:40 +0000
commit7e36027237cc2633bd48fd1808ad97396c82f2ef (patch)
tree9200b94502d1f4d3c03b3e8f1473f6ff1dc0d1e3 /main.c
parentcsi: color index is an 8-bit unsigned value (diff)
conf: TERM can now be set in footrc
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 2c8f0451..70ca3d48 100644
--- a/main.c
+++ b/main.c
@@ -312,7 +312,7 @@ main(int argc, char *const *argv)
argv += optind;
setlocale(LC_ALL, "");
- setenv("TERM", "foot", 1); /* TODO: configurable */
+ setenv("TERM", conf.term, 1);
int repeat_pipe_fds[2] = {-1, -1};
if (pipe2(repeat_pipe_fds, O_CLOEXEC) == -1) {