diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-07-16 23:13:06 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-07-16 23:13:41 +0300 |
| commit | 550e9f8cc085f428429f5cf2da0bb2dba897e8b8 (patch) | |
| tree | 996e9cbbf905b89df8bd512fa9b0e68d07e25943 /src/terminal | |
| parent | 8dcb75a5c08b4dd1f225ea531a27824a9f41ae4a (diff) | |
fix: follow foreground process group leader cwd
refs #1472
Diffstat (limited to 'src/terminal')
| -rw-r--r-- | src/terminal/runtime.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/terminal/runtime.rs b/src/terminal/runtime.rs index 1d19ad4a..0241f984 100644 --- a/src/terminal/runtime.rs +++ b/src/terminal/runtime.rs @@ -453,6 +453,10 @@ impl TerminalRuntime { self.0.cwd() } + pub fn follow_cwd(&self) -> Option<std::path::PathBuf> { + self.0.follow_cwd() + } + pub fn foreground_cwd(&self) -> Option<std::path::PathBuf> { self.0.foreground_cwd() } |
