zolrath / wemux

Multi-User Tmux Made Easy
MIT License
3.62k stars 139 forks source link

Feature request: option to not open new tab when connecting #75

Open TamaMcGlinn opened 2 years ago

TamaMcGlinn commented 2 years ago

When colleagues join my wemux session, they need to switch to my wemux tab, or close their new wemux tab. If that feature could be disabled in wemux.conf, they would not actually need to remember any wemux commands at all, but instead be dropped straight into my neovim instance, which would be much easier for them.

Hence the feature request: a client option 'open_tab_for_new_connections', which defaults to true to match the current behaviour.

TamaMcGlinn commented 2 years ago

Wow, quickfix was incredibly easy!

Just comment or remove line 553: '$wemux new-window -n $username'

Now wemux rogue will not open a new window.

It would still be great to have an option for this.