[Bug] Fork command uses parent session's cwd instead of current working directory
Status Open
Reported on v2.1.238
Maintainer reply None cached
Activity 0 comments · opened Aug 21, 2026
Bug Description
repro steps:
- start a session in /A
- run /cd /B
- run /fork
expected: the fork's cwd is /B
actual: the fork's cwd is /A
Environment Info
- Platform: darwin
- Terminal: xterm-256color
- Version: 2.1.238
- Feedback ID: bbe74807-ae17-4abd-94f5-c160adb329cb