Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change tab label to name of foreground child process #838

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

jeremypw
Copy link
Collaborator

@jeremypw jeremypw commented Jan 2, 2025

Partially fixes #698
Partially fixes #646

When a foreground process is running in a tab, the tab label now shows information about the running process.

To be decided - what information should be shown? Currently it is the basename of the exe file from the /proc/<pid> directory.

When the foreground process is screen, it proved impossible (?) to get the working directory of the screen window currently showing (it show more than one anyway). It is possible to edit the screenrc config file to show screen status info in the headerbar and/or within its own windows.

@jeremypw jeremypw force-pushed the jeremypw/tab-label-foreground-process branch from f9f043f to 67d2176 Compare January 2, 2025 12:14
@jeremypw jeremypw marked this pull request as ready for review January 2, 2025 18:10
@jeremypw jeremypw requested a review from a team January 2, 2025 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When using screen tab title does not change
1 participant