wezterm
wezterm copied to clipboard
Closing a tab doesn't reflect on the UI
What Operating System(s) are you seeing this problem on?
Windows
Which Wayland compositor or X11 Window manager(s) are you using?
No response
WezTerm version
20240212-073805-217dfb30
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
Closing a tab doesn't reflect immediately on the UI, but it's needed to interact with the tabs or to create/move to a new tab in order to refresh the state. This happens only if the tab is NOT the last on the list.
To Reproduce
- Open a new window
- Create a new tab
- Navigate to the first tab on the list
- Close the current tab
You'll notice that the user is navigated on the second tab, but the change won't be reflected on the tab UI
Configuration
My configuration can be found here. It is quite simple.
Expected Behavior
I'd expect that after closing a tab, the tab would be removed from the list of tabs
Logs
No response
Anything else?
I've made also a video (I zipped it), to be as much clear as possible.
I am using the function closeCurrentTab { confirm = true } in order to close the tab, but also just clicking the close button reflects on the same result.
EDIT: I've just noticed that the same bug doesn't happen when closing every pane of a tab.