aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-11-01 20:03:08 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-11-01 20:03:08 +0000
commit0bd2ddd8ad60a77e27cdb459da8e319647fd6f59 (patch)
treec75bb8293570d15cb53b5dc0b7dd3adf977c76e1 /terminal.h
parentslave: set TERM environment variable in slave process (diff)
term_init(): initialize slave TERM from term_init() argument
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/terminal.h b/terminal.h
index 3ec2802c..11571519 100644
--- a/terminal.h
+++ b/terminal.h
@@ -296,7 +296,7 @@ struct terminal {
struct config;
struct terminal *term_init(
const struct config *conf, struct fdm *fdm, struct wayland *wayl,
- int argc, char *const *argv,
+ const char *term_env, int argc, char *const *argv,
void (*shutdown_cb)(void *data, int exit_code), void *shutdown_data);
bool term_shutdown(struct terminal *term);