mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-18 05:34:02 -04:00
slave: prefix argv[0] with a '-' when spawning a login-shell
This commit is contained in:
parent
6af4b87ec5
commit
b5efe984bb
7 changed files with 44 additions and 13 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue