zellij
zellij copied to clipboard
Redraw/Re-evaluate Window Size Function
A few times I've managed to get zellij into a state where the zellij window size does not match my terminal. This usually happens when I'm resizing terminal a lot/disconnecting/connecting monitors, etc. Its hard to pin down a cause though.
It would help if there were a function to force a redraw/re-evaluate of window size. In my current instance of the issue, if I use the session manager to open a new session, the new session is the correct size but the old one isn't.
Hey, this sounds quite odd - because such a function would only call the same function we use when the terminal window is resized... does that solve the problem in such a state?
If not, does detaching and reattaching to the session help?
Also, are perhaps multiple users connected to the session? That's the only thing I can imagine that can cause this...
I'm having the same issue: I'm running Zellij in my VSCode terminals for persistence across session (I'm almost exclusively using VScode through remote-ssh to a Linux box. This is what my terminal looks like:
Running tput cols returns 80, so I think Zellij is not getting some info from the VScode terminal. Is there a way to manually force Zellij to re-evaluate things? It sometimes work fine, but I cannot figure out how to get it to behave (or misbehave).