You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature]: New widgets in the same tab should inherit the working directory of the active terminal #3483
Feature Request: Make new widgets in the same tab inherit the active terminal's working directory
Environment
Platform: Wave Terminal
OS: macOS 26.6.2 (arm64)
User: liuishihua
Current tab state:
(1d08f870) local CLI terminal (fish 4.6.0)
Running command: claude
Working directory: /Users/gzxworkspace/2026/gzxHrApp2026
Problem
In the same tab, when I already have a terminal opened in a certain working directory, if I then open:
a new Files widget, or
a new Terminal widget,
these new widgets do not automatically use the same working directory as the existing terminal. This leads to extra navigation steps every time I open a new widget in the same tab.
Expected behavior
Within a single tab:
When I open a new Terminal widget, it should inherit the working directory of the most recently active Terminal widget in that tab (e.g. /Users/gzxworkspace/2026/gzxHrApp2026).
When I open a Files widget, it should also default to the same directory as the active terminal in that tab.
In other words, each tab should effectively have a "current working directory context", and new widgets created in that tab should follow it.
Why this is useful
Reduces repetitive cd operations and manual navigation in Files.
Makes tabs feel like project/workspace scopes: when I'm in a project tab, anything I open there (Files, new terminals) automatically stays in that project's directory.
Improves consistency and predictability of how widgets behave in the same tab.
Nice-to-have options
A setting to toggle this behavior:
"New widgets inherit active terminal working directory (per tab)"
Optionally, a way to set a tab-level "project root" that all new widgets default to.
Thank you for considering this feature!
功能需求:同一个 Tab 中新建的 widget 继承当前终端的工作目录
环境
平台:Wave Terminal
系统:macOS 26.6.2 (arm64)
用户:liuishihua
当前 Tab 状态:
(1d08f870) 本地 CLI 终端(fish 4.6.0)
正在运行命令:claude
工作目录:/Users/gzxworkspace/2026/gzxHrApp2026
问题描述
在同一个 Tab 中,当我已经有一个终端在某个工作目录下时,如果我随后打开:
新的 Terminal widget,或者
新的 Files widget,
这些新 widget 并不会自动使用当前终端的工作目录,需要我再次手动 cd 或在 Files 里重新导航,比较繁琐。
Activity