zellij-org / zellij

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

Stacked layout for fullscreen panes #3791

Open Doodler8888 opened 6 days ago

Doodler8888 commented 6 days ago

I like floating panes, specifically their ability to be stacked and tab-specific. But I often find myself using fullscreen terminal sessions through the window manager as if I would use floating panes. Currently, if I'm not missing anything, Zellij allows for a stacked layout for non-floating panes, but only by making them take half of the screen space.

image

I'd like to see an addition to the stacked layout for non-floating panes, allowing them to occupy the whole screen space. The closest approximation to this functionality involves creating two horizontal panes, expanding one using ToggleFocusFullscreen, and switching between them with MoveFocus "Up" and MoveFocus "Down". However, this workaround has limitations:

  1. The layout doesn't persist after reloading the session.
  2. It's prone to bugs.