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

--new-tab option in wezterm connect not working #6145

Open
Risinggoblin opened this issue Sep 15, 2024 · 0 comments
Open

--new-tab option in wezterm connect not working #6145

Risinggoblin opened this issue Sep 15, 2024 · 0 comments
Labels
bug Something isn't working multiplexer

Comments

@Risinggoblin
Copy link

What Operating System(s) are you seeing this problem on?

macOS

Which Wayland compositor or X11 Window manager(s) are you using?

N/A

WezTerm version

20240914-092101-9668fa94

Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?

Yes, and I updated the version box above to show the version of the nightly that I tried

Describe the bug

When using the command wezterm connect my.server --new-tab, WezTerm opens a new window with the SSH connection instead of opening a new tab in the existing window, as described in the documentation. The --new-tab option appears to have no effect, resulting in the same behavior as if the option wasn't specified.

To Reproduce

  1. Open a WezTerm window on macOS.
  2. Set up as ssh domain in your config file.
  3. Run the following command to SSH into a server:
wezterm connect my.server --new-tab
  1. Observe that a new window opens instead of a new tab.

Configuration

local wezterm = require 'wezterm'
local config = {}

if wezterm.config_builder then  
  config = wezterm.config_builder()
end

config.ssh_domains = {
  {
    name = 'my.server',
    remote_address = '192.168.0.102',
    username = 'username',
  },
}
return config

Expected Behavior

The SSH connection should open in a new tab in the current WezTerm window, not in a separate window, as indicated in the documentation.

Logs

No response

Anything else?

No response

@Risinggoblin Risinggoblin added the bug Something isn't working label Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working multiplexer
Projects
None yet
Development

No branches or pull requests

2 participants