tmux-python / tmux-python/tmuxp

main-pane-height of incorrect size

Open
#874 2 comments 1 reaction 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.