zellij-org / zellij

A terminal workspace with batteries included
https://zellij.dev
MIT License
21.09k stars 643 forks source link

Zellij action move-focus sometimes resizes the pane #2958

Open LumenYoung opened 10 months ago

LumenYoung commented 10 months ago

As suggested in the title. I find that the zellij action move-focus will produce side-effect on resizing the pane. You can look at the video for the demonstration. I found this problem when I was using vim-slime to do REPL on zellij, I find the implementation is merely using zellij action api see here. My further interaction with the zellij action command confirms that this is a strange behavior from the zellij side, not from the vim plugin.

I can reproduce this problem on two servers I'm connecting via ssh. But I can't reproduce this on the laptop I'm using. So I might need further instruction to help with providing more detailed information on reproducing the problem on other machine.

https://github.com/zellij-org/zellij/assets/45258158/cca9221d-e698-49fe-8b6f-69d392d6ee2c

Basic information

zellij --version: zellij 0.39.1 stty size: 59 238 (for the whole terminal) uname -av or ver(Windows): Linux [hostname] 5.4.0-166-generic #183-Ubuntu SMP Mon Oct 2 11:28:33 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux ( This is a remote server I connect to via ssh )

List of programs you interact with as, PROGRAM --version: output cropped meaningful, for example: nvim --version: NVIM v0.9.4 wezterm --version: wezterm 20231117-151105-60065258

Further information Reproduction steps, noticeable behavior, related issues, etc

LumenYoung commented 10 months ago

I have some basics on rust and willing to contribute to this wonderful project. If given some potential cause and guide, I can dive into the problem further.