Repository navigation
fix(revdiff-planning): use percentage pane size for zellij plan review - #245
Merged
Merged
Conversation
`zellij run --width/--height` treat a bare integer as a fixed cell count, not a percentage. The zellij branch of launch-plan-review.sh passed `--width 90 --height 90`, so the plan-review floating pane opened at 90 columns x 90 rows instead of 90% of the screen — a tall, skinny column on wide terminals. The tmux branch in this same script already uses 90%. Pass `--width 90% --height 90%` to match, so the floating pane fills 90% of the viewport, consistent with the main launch-revdiff.sh launcher. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
umputun
approved these changes
Jun 30, 2026
umputun
left a comment
Owner
There was a problem hiding this comment.
lgtm. Verified against zellij run --help (bare int is cell count, % is percent), and it matches what the main launch-revdiff.sh already does for zellij, thx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi, I did read the contributing guide, but given this is a tiny mechanical bugfix I didn't think it fell in line with the spirit of the open an issue first rule. If that's a bad assumption on my part let me know, I'm happy to create an issue and link this PR to it.
What is the problem?
When
revdiff-planningopens a plan for review inside Zellij, the floating pane is a tall, skinny column instead of the intended ~90% overlay.Root cause: in
plugins/revdiff-planning/scripts/launch-plan-review.sh, the zellij branch passes--width 90 --height 90tozellij run. Perzellij run --help,--width/--heighttreat a bare integer as a fixed cell count, not a percentage:The
tmuxbranch of this same script already uses-w 90% -h 90%, and the mainlaunch-revdiff.shpasses--width 90% --height 90%(via$POPUP_W/$POPUP_H) — so only the plan-review zellij path is affected.How does this solve it?
Add the
%so bothzellij runinvocations pass--width 90% --height 90%.