microsoft / microsoft/terminal
Keep current directory when opening a new instance or tab
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
### Description of the new feature
Just like how it works in most Linux enviornments and terminals, it would be nice to have this feature. Basically, when opening a new tab, set the current working directory of newly opened instance, to the same one as last active tab.
BTW please close this issue if a similar issue already was opened, I was not able to find such an issue (there's a lot of issues in this repo)
### Proposed technical implementation details
_No response_
Contributor guide
Research direction
Start by locating the code that creates a new tab or instance and identify how the active tab's current working directory is represented. Verify the behavior for both new tabs and new instances, then add or update coverage where the relevant entry points are found. Done means each new tab or instance starts in the last active tab's directory.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100