mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-28 06:46:38 -04:00
implement st's newterm instead of osc 7
This commit is contained in:
parent
b4e418f251
commit
9ae89c74cb
2 changed files with 4 additions and 28 deletions
|
|
@ -3302,8 +3302,11 @@ term_bell(struct terminal *term)
|
|||
bool
|
||||
term_spawn_new(const struct terminal *term)
|
||||
{
|
||||
char buf[32];
|
||||
snprintf(buf, sizeof(buf), "/proc/%d/cwd", term->slave);
|
||||
|
||||
return spawn(
|
||||
term->reaper, term->cwd, (char *const []){term->foot_exe, NULL},
|
||||
term->reaper, realpath(buf, NULL), (char *const []){term->foot_exe, NULL},
|
||||
-1, -1, -1, NULL);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue