-
-
Notifications
You must be signed in to change notification settings - Fork 840
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
Tab navigation gets confused after move-pane-to-new-tab #3374
Comments
Interesting! The workaround is to do this:
The issue is that the move tab request is being made to the mux in the gui, rather than the mux server, so the pane doesn't really get move in the way that you expect. You can see it in a wonky state if you By setting the WEZTERM_UNIX_SOCKET env explicitly to match that of the mux server, the issue is avoided. This needs a more robust solution, but that should get you unblocked for now. |
This should be resolved now in It typically takes about an hour before commits are available as nightly builds for all platforms. Linux builds are the fastest to build and are often available within about 20 minutes. Windows and macOS builds take a bit longer. Please take a few moments to try out the fix and let me know how that works out. You can find the nightly downloads for your system in the wezterm installation docs. If you prefer to use packages provided by your distribution or package manager of choice and don't want to replace that with a nightly download, keep in mind that you can download portable packages (eg: a If you are eager and can build from source then you may be able to try this out more quickly. |
latest { key = "!", mods = "LEADER | SHIFT", action = callback(
function(win, pane)
pane:move_to_new_tab()
end)
}, |
Thanks. That including the lua API works correctly now! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
What Operating System(s) are you seeing this problem on?
Linux X11
Which Wayland compositor or X11 Window manager(s) are you using?
No response
WezTerm version
wezterm 20230325-203323-59503034
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
ActivateTab gets confused after
move-pane-to-new-tab
and jumping to the split tab and other tabs doesn't go to the right tab number. I suspect that the new split tab still thinks it has the old tab number.To Reproduce
Ctrl+a |
.Ctrl+a c
.Ctrl+a 0
.Ctrl+a !
. [Note that the split went to tab 2]Ctrl+a c
.Ctrl+a 0
Ctrl+a 1
Ctrl+a 2
Ctrl+a 3
Ctrl+a 0
Ctrl+a 1
Ctrl+a 2
Ctrl+a 3
Navigating to tab 2 always goes to tab 0 instead.
Configuration
Expected Behavior
The navigation to tab 2 should go to tab 2 instead of tab 0.
Logs
Not provided. A different key than
Ctrl+a !
e.g.Ctrl+a t
can be used if there are any mapping issues.Anything else?
No response
The text was updated successfully, but these errors were encountered: