term_init(): initialize slave TERM from term_init() argument

This commit is contained in:
Daniel Eklöf 2019-11-01 21:03:08 +01:00
parent 69d62d3cd2
commit 0bd2ddd8ad
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 6 additions and 6 deletions

View file

@ -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);