Change tab label to name of foreground child process #838
+84
−27
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.
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 thescreenrc
config file to show screen status info in the headerbar and/or within its own windows.