Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Feature request: allow percentage for "tmux set-window-option main-pane-height" #888
Currently I'm using
This works well for my main monitor but not as well on smaller screens; it would be great if I could use a percentage so that the non-main panes take up 1/3 or 33% height of the entire terminal or something.
Thank you for the great work. tmux is amazing.
I made a script for handling this at https://github.com/tony/tmux-config/blob/5b348ee/scripts/resize-adaptable.sh. I also wrote a blog post about it at https://devel.tech/tips/n/tMuXrSz9/resize-tmux-main-panes-by-percentage/ and linked this issue up.