mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-22 05:33:45 -04:00
term: wip: track current working directory
This sets the initial current working directory, as it is when the terminal is instantiated. We chdir() to it just before spawning a new terminal.
This commit is contained in:
parent
a484a65fef
commit
016bde1bd4
2 changed files with 14 additions and 0 deletions
|
|
@ -316,6 +316,7 @@ struct terminal {
|
|||
void *shutdown_data;
|
||||
|
||||
char *foot_exe;
|
||||
char *cwd;
|
||||
};
|
||||
|
||||
struct config;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue