Closed abusch closed 2 years ago
Can you try a nightly build? https://wezfurlong.org/wezterm/install/macos.html#installing-on-macos
Sure, I've switched to the nightly builds and see if it happens again.
From what I can tell from the backtrace, it seems to happen on this line: https://github.com/wez/wezterm/blob/main/term/src/screen.rs#L197 where Screen::phys_row()
is called with a negative row (i.e cursor.y
would be negative), triggering the assert
. I am not familiar enough with the code to know why that would be the case though 😅
It doesn't reproduce for me, but I suspect that it is related to rewrapping lines leaving the cursor position in slightly the wrong place.
Possibly the same root cause as either or both of:
Can you try to figure out what output in the pane(s) causes this to happen? I'm assuming that a specific number and width of lines is necessary. With that, it will be much easier to figure out how to resolve this!
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.
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?
macOS
WezTerm version
20220624-141144-bd1b7c5d
Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?
No, and I'll explain why below
Describe the bug
wezterm-gui
crashed when closing a pane.To Reproduce
I had a tab with neovim running. I opened a vertical split, then closed it, and wezterm crashed. I had a couple of other tabs open in that session as well, but no other window or workspace.
Configuration
Expected Behavior
No response
Logs
Anything else?
No response