-
-
Notifications
You must be signed in to change notification settings - Fork 644
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
Overhauling Zellij's Resize & Layout System #568
Conversation
This change introduces the `Fixed` and `Percent` dimensions for pane sizes, laying the groundwork for a parametric resize / layout system down the line. IMPORTANT: This commit is hillariously broken and doesn't compile.
The rest of the work is trickier and requires rethinking how things should interact with percentages
Hey @TheLostLambda I took this for a spin and found some issues:
resize-bug.mp4
split-down-bug.mp4
|
Hi @imsnif ! Some good finds! Sorry for leaving that mess for you to look at, I introduced bugs 2 and 3 in the refactoring commit 1 should just be an easy fix in the tab-bar code. What do you mean in 4? Do they become smaller than the minimum when resizing the whole terminal or can you split things with a fixed-size window and get that effect? Thanks again for giving this a look and sorry I busted things during my refactor! |
@TheLostLambda, |
@a-kenji I'm excited to have all of this work in main! |
Merge delayed until tomorrow because I just so happened to delete the biggest set of tests in the repo 😅 I'm fixing them up (mostly fixing the tests themselves) and should finish soonish :) |
Should close #619 and #406 when merged :)