aboutsummaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-11-01 20:01:15 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-11-01 20:01:15 +0000
commit69d62d3cd2918bee089fc879e381820349497483 (patch)
tree44a9c5129aaf60452a6c1880a42d3b3389aff465 /terminal.c
parentPKGBUILD: need to execute footclient, to generate profiling data (diff)
slave: set TERM environment variable in slave process
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/terminal.c b/terminal.c
index cbe67b58..d6aaf4ff 100644
--- a/terminal.c
+++ b/terminal.c
@@ -428,7 +428,7 @@ term_init(const struct config *conf, struct fdm *fdm, struct wayland *wayl,
LOG_INFO("cell width=%d, height=%d", term->cell_width, term->cell_height);
/* Start the slave/client */
- if ((term->slave = slave_spawn(term->ptmx, argc, argv, conf->shell)) == -1)
+ if ((term->slave = slave_spawn(term->ptmx, argc, argv, conf->term, conf->shell)) == -1)
goto err;
/* Initiailze the Wayland window backend */