tmux-python / tmux-python/tmuxp
main-pane-height of incorrect size
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 248
- Avg merge
- 2h 13m
- Merged PRs (30d)
- 1
Description
Are you using the latest version of tmuxp? Check tmuxp -V against
https://pypi.org/project/tmuxp/. If it's not the latest, consider updating, e.g.
pip install --user tmuxp.
tmuxp 1.27.0, libtmux 0.21.0
Step 1: Provide a summary of your problem
for some reason, on version 1.27.0 I have to specify the main-pane-height in percentage for it to be of the size close to what I want. If I omit the percentage sign the size of the mane pane will be too small.
Step 2: Provide tmuxp details
- Include output of
tmuxp debug-info - Include any other pertinant system info not captured
Step 3: Describe the problem:
session_name: dev
windows:
- window_name: dev
focus: true
layout: main-horizontal
options:
main-pane-height: 55%
panes:
- shell_command:
-
- shell_command:
-
- shell_command:
-
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the YAML configuration with tmuxp 1.27.0, checking the installed version with tmuxp -V and collecting tmuxp debug-info. Compare the resulting main-pane size when main-pane-height is written with and without %; done means the configured pane height is interpreted as intended.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100