-
Notifications
You must be signed in to change notification settings - Fork 30.2k
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
Terminal skips layout when restoring from tmux #71078
Comments
I have peeked at this a bit and started by setting up tmux with two panels as mentioned in the original post. I was able to reproduce this issue as well, however my experience was that when this occurred I was able to consistently make this occur repeatedly by closing the terminal with the X, then going to Each time I reproduced this issue successfully I also got this error:
In case this helps in finding the issue, I have shared this here as I am not yet sure how to resolve it. |
Upstream issue: microsoft/node-pty#220 |
The ioctl exception will give more detail on how it failed when #73597 is merged. |
I looked into this and could repro without the ioctl errors. It really seems like an issue in tmux because the pty is initialized to the correct size, then another resize call is triggered with the same correct size, but tmux still renders wrong. Also strangely telling tmux to relayout fixes it (ctrl+b, r) which indicates to me the issue is in tmux. |
I've had this issue for a while, just never created a ticket for it...
Very often, yet not always, when I reload my workbench, the terminal fails to relayout my tmux setup. I need to resize the terminal using the sash. Hiding and showing the terminal doesn't help. It's as if a layout call is missed somewhere.
The text was updated successfully, but these errors were encountered: