mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-26 01:40:12 -05:00
term: term_spawn_new(): new function, spawns a new foot/footclient process
Bind ctrl+shift+return to it
This commit is contained in:
parent
2a95f2949b
commit
57de9feaa5
6 changed files with 80 additions and 5 deletions
2
server.c
2
server.c
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue