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

Zenith only consumes half the screen on start (tmux/byobu) #124

Open
jayv opened this issue Oct 28, 2022 · 4 comments
Open

Zenith only consumes half the screen on start (tmux/byobu) #124

jayv opened this issue Oct 28, 2022 · 4 comments
Assignees

Comments

@jayv
Copy link

jayv commented Oct 28, 2022

zenith 0.13.1

image

Upon resizing the terminal window it makes the app use all the available vertical space.

@bvaisvil
Copy link
Owner

Thanks for the report. That is strange as I use zenith with tmux everyday and haven't seen this happen! However, I haven't ever tried byobu. What versions of tmux/byobu do you use?

@bvaisvil bvaisvil self-assigned this Oct 28, 2022
@jayv
Copy link
Author

jayv commented Oct 28, 2022

The ubuntu 22.04 version:

Package: byobu
Version: 5.133-1

Package: tmux
Version: 3.2a-4build1

@bvaisvil
Copy link
Owner

Thanks, I was able to replicate. Did you install from the git repo or use the .deb?

Fairly sure the issue is that it detects no graphics so it removes that pane but doesn't then re-layout the remaining panes until the resize event.

bvaisvil added a commit that referenced this issue Oct 28, 2022
If graphics are enabled but the device isn't found, we need to recompute constraints at startup after removing the graphics device from the section geometry.
@jayv
Copy link
Author

jayv commented Oct 29, 2022

.deb

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