aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-02-20 17:36:09 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-02-20 17:36:09 +0000
commitb5efe984bbfec151b70d3450f4f18243313de497 (patch)
tree7eb36e6dc8d96120ffdf2081b365c1c161cda17c /terminal.h
parentconfig: add 'login-shell' option (diff)
slave: prefix argv[0] with a '-' when spawning a login-shell
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/terminal.h b/terminal.h
index d400dca5..d9727b32 100644
--- a/terminal.h
+++ b/terminal.h
@@ -356,8 +356,8 @@ struct terminal {
struct config;
struct terminal *term_init(
const struct config *conf, struct fdm *fdm, struct wayland *wayl,
- const char *term_env, const char *foot_exe, const char *cwd,
- int argc, char *const *argv,
+ const char *term_env, bool login_shell, const char *foot_exe,
+ const char *cwd, int argc, char *const *argv,
void (*shutdown_cb)(void *data, int exit_code), void *shutdown_data);
bool term_shutdown(struct terminal *term);