Skip to content
Discussion options

You must be logged in to vote

The first tab is created by default and there is no need to call new_tab.
Each tab should have a window created using the launch command.
If you do not use focus to explicitly specify the final active window inside the corresponding tab, then the first tab is active by default.

Option 1) Use the implicit default focus, on first tab.

# first tab
launch --title first

# second tab
new_tab
launch --title second

Option 2) Explicitly defines the window to be activated.

# first tab
launch --title first
# focus on this window in first tab
focus

# second tab
new_tab
launch --title second

Option 3) You can use the --keep-focus (later versions will have the alias --dont-take-focus) option when c…

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by leslieamartinez
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@page-down
Comment options

@leslieamartinez
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants