Repository navigation
Conversation
cjoushua
force-pushed
the
feature/process-cwd-parent-navigation-1883
branch
from
October 24, 2026 11:34
c2ed009 to
7778e5c
Compare
cjoushua
force-pushed
the
feature/process-cwd-parent-navigation-1883
branch
from
October 25, 2026 14:52
1ffcb31 to
48aca31
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[AI generated]
Closes #1883
Summary
This PR adds two improvements to the process detail view:
Display the current working directory (CWD) of the selected process.
Add a Jump parent action to navigate directly to the process's parent.
Current working directory
On Linux, the CWD is retrieved from:
/proc//cwd
The CWD section is displayed only when:
the CWD can be retrieved, and
the process panel has enough vertical space.
When the terminal becomes too small, the CWD section is hidden and the original process detail layout is used.
The CWD is also cleared when the selected process exits to avoid displaying stale information.
Other platform collectors are currently unchanged.
Parent navigation
The process detail view now provides a Jump parent action.
Press J to navigate to the current process's parent.
The action is also available through the mouse when the button is visible.
Parent navigation uses the existing ppid stored in proc_info.
When following the detailed process, jumping to the parent updates the followed PID as well.
The action is disabled when the process is dead or there is no valid parent PID.
Testing
AI disclosure
AI assistance was used during parts of the implementation and code review process. I traced the existing process-detail, input, and collection flows, implemented and tested the changes locally, and verified the behavior described above.