-
Notifications
You must be signed in to change notification settings - Fork 232
main-pane default layouts not getting reasonable sizes #314
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
Comments
I'm getting this behavior with vanilla tmux outside of tmux:
inside the new tmux session:
|
@oblitum can you reproduce #314 (comment)? I experienced the same issue as @oblitum. However, for me it began when using tmux 2.6. The main-pane-height and main-pane-width began being smaller, requiring me to make a larger value for it. If I set to 30, it's 30 characters/cells wide. If I set to 60, it's 60 cells wide. I guess it's more accurate now? However, the issue I have with this is I don't want a number of cells, I want a percentage (just like what we -p gives in
I guess the equivalent with main-pane-width would be:
Down the line: we could make it so tmuxp set main-pane-{width/height} to a percentage via the config. In fact, we could actually make the percentage persist by creating a hook on |
I have the same behavior for the issue's test case on tmux 2.5. Regarding the other manual width setting, I have never used those, I have only set width/height inside tmuxp's yamls. I think I do prefer the way it's working, I see no issue or change regarding this, for example, I have several yaml's where I set |
I have just tested this on tmux 2.5, tmuxp 1.3.2. The behavior is still the same. So I think I may only have noticed this meanwhile the recent issues. I don't know at which point it ever started to behave differently than I'd expect. Still, |
This issue has been automatically marked as stale because it has not had This bot is used to handle issues where the issue hasn't been discussed or |
Can we reopen this issue? I'm on tmux 3.1c and cannot get |
@Abdull Absolutely! Re-opened |
What about now in |
Setting e.g. |
For the following session:
The result is:
Where the main pane is the left one, it's smaller than the others non main panes.
tmuxp load -d ./foo.yaml
The text was updated successfully, but these errors were encountered: