term: term_spawn_new(): new function, spawns a new foot/footclient process

Bind ctrl+shift+return to it
This commit is contained in:
Daniel Eklöf 2019-12-21 15:27:17 +01:00
parent 2a95f2949b
commit 57de9feaa5
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
6 changed files with 80 additions and 5 deletions

View file

@ -213,7 +213,7 @@ fdm_client(struct fdm *fdm, int fd, int events, void *data)
client->term = term_init(
server->conf, server->fdm, server->wayl,
strlen(term_env) > 0 ? term_env : server->conf->term,
argc, argv, &term_shutdown_handler, client);
"footclient" /* TODO */, argc, argv, &term_shutdown_handler, client);
if (client->term == NULL) {
LOG_ERR("failed to instantiate new terminal");