zellij-org / zellij

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

Feature Request: Resize window size if two clients are on same window #2490

Open hardfau1t opened 1 year ago

hardfau1t commented 1 year ago

when two ore more clients are connected to same session then all clients share same screen size of client with smallest screen size. Is it possible to make screensize for per window? When two ore more clients are on same window then the window size is set to smallest one, if they are on different windows then they can have independent window size.

There was a issue similar #1739

BTW Thanks for this awesome tool😃

chernesk commented 7 hours ago

I would love to see something different here as well. I'm a new zellij user coming from tmux.

When I'm on my home PC and then I connect via a tablet, the home PC resizes to my tablet. When I close the tablet or don't use it for a while and I go back to my PC, it will resize the session to my PC.

What I feel happens is the connection with the last actiive keystroke gets to resize the session to what they need to see.

This is super important for me because with my work I'm often going between PC and tablet multiple times per day. Tmux just seems to work in this case. I would prefer to use zellij for all of the sane defaults, session restore and more, but for me, for now, I need the flexibility for non-concurrent, but multiply connected sessions to work similarly to tmux.

Thanks for your consideration!