Skip to content
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

zj run --floating --width 50% --height 100% -x 50% -y 0% -- terminal does not respect y 0% #3447

Open
DRKolev-code opened this issue Jun 23, 2024 · 2 comments

Comments

@DRKolev-code
Copy link

Basic information

zellij --version: 0.40.0

stty size: 49 176

uname -av or ver(Windows): Darwin FVFFV88RQ05F 23.5.0 Darwin Kernel Version 23.5.0: Wed May 1 20:16:51 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T8103 arm64

Issue description

When creating a new floating pant with y 0% it does create a floating pane that starts from the top.

image

Minimal reproduction

Tested on Windows Terminal and iterm2.

zellij run --floating --width 50% --height 100% -x 50% -y 0% -- terminal

@Zykino
Copy link
Contributor

Zykino commented Jun 23, 2024

Workaround: set y to "0" instead of "0%": zellij run --floating --width 50% --height 100% -x 50% -y 0 -- htop

I was already in half split I did not understood what happened so use at your own risk 😅

@DRKolev-code
Copy link
Author

This does indeed work. The bug must be specifically with percentages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants