Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(terminal): only refresh process specifics for given PID in get_cw…
…d() (zellij-org#3472) Update `get_cwd()` to only refresh process specifics for the given PID, matching the `get_cwds()` implementation. This significantly reduces the latency of opening a new Pane or Tab. On a 64-core Threadripper system, this reduces the latency of `get_cwd()` from 850ms to 1ms. On an 8-core Ryzen system, the improvement is smaller, but still perceptible.
- Loading branch information