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

Add the ability to change focus automatically when process finishes #15

Closed
rickstaa opened this issue Sep 29, 2020 · 3 comments
Closed
Assignees
Labels
enhancement A new feature or product improvement.

Comments

@rickstaa
Copy link
Owner

rickstaa commented Sep 29, 2020

I just noticed that @nat-chan created a very useful feature in his fork. This new feature automatically switches focus to the finished window. I think this would be good. I, however, think it should not be the default as it is currently in @nat-chan's branch.

Proposal

My Idea is to pull the changes of @nat-chan into my fork and modify them slightly such that user has two ways to monitor a pane:

  • prefix + m: The regular pane monitor option.
  • prefix + alt + m: Now the pane is monitored, and the focus is returned to the pane when it finishes.

Alternatively, we can of course also use a tmux-option to change this behaviour, but I think the above method would allow users to decide on a pane basis whether the want to return the focus. @ChanderG and @bruno- what do you think about this new feature?

@rickstaa rickstaa self-assigned this Sep 29, 2020
@rickstaa rickstaa added the enhancement A new feature or product improvement. label Sep 29, 2020
@ChanderG
Copy link
Collaborator

ChanderG commented Oct 3, 2020

Sounds good - per pane selection like you mention seems better.

@rickstaa
Copy link
Owner Author

rickstaa commented Oct 3, 2020

@ChanderG great I will start working on it after we resolved #14.

@rickstaa
Copy link
Owner Author

This feature is added in #17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A new feature or product improvement.
Projects
None yet
Development

No branches or pull requests

2 participants