Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Open new terms in last term's CWD
Closes: pop-os#251 This patch implements an optional (but enabled by default) feature for opening new terminals using the focused terminal's working directory. The code to retrieve the CWD is largely based on Alacritty's implementation of the same feature. I added a new direct dependency, Rustix, which was already included transitively. I opted for Rustix instead of libc since I could avoid a use of `unsafe` with Rustix. Rustix's type guarantees are also stronger than libc's.
- Loading branch information