Propose a setting to run tmux foreground jobs in a separate window when possible #209
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.
Propose to extend the meaningful settings for the height of the tmux split for foreground jobs with 0, to state that it should be run in a different (background) window when the GUI subsystem is enabled (so that the job will be able to call back when it finishes).
With this setting, one can obtain the same behaviour with tmux than with screen.
I find this especially convenient whenever I use compilers which takes a long time to start and output eventual messages in one go at the end.
This PR consists of one real commit, but it’s based on #208 since it modifies related lines.
I’d be happy to reorganise (and document) all this if there’s a better way.
Edit: changed the commit number to a reference to the PR.