-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
wt new-tab --no-focus, to keep the focus in the current tab rather than the new tab #17460
Comments
This sounds interesting! Thank you for submitting this. We have some concerns about how this would interact with some other commandline arguments (like split pane), so we are going to put this on the backlog and mark it as requiring a spec. |
I don't understand the concern about split pane. |
They may not have to, but they should. They're both different localities for "make a new teminal control somewhere". But then... should it be part of the action language as well? e.g. should you be able to bind Ctrl+Shift+B to open a new unfocused tab in the background? What about |
Description of the new feature/enhancement
Add to
wt new-tab
an option that makes it keep the focus in the current tab, instead of switching to the new tab.I think
--no-focus
would be a good name for the new option, and consistent with thefocus-tab
command.I'd use this in a Bash alias that starts a console application that takes some time to initialize. So I'd be able to continue working in the shell while the application is initializing, and switch to the application's tab a bit later.
Proposed technical implementation details (optional)
The text was updated successfully, but these errors were encountered: