Describe the bug
If I open lazygit from neovim which is inside tmux I get different pane sizes than when opening lazygit from terminal inside tmux without neovim or when opening lazygit from neovim without tmux or when opening lazygit from terminal without tmux.
Lazygit from neovim inside tmux-

Lazygit inside neovim and without tmux-

As you can see, the pane sizes on the left-hand side are different in both cases.
To Reproduce
Steps to reproduce the behaviour:
- Open a new tmux session
- Open neovim inside it (
nvim --clean)
- Open terminal inside neovim (
:term)
- Type lazygit and press enter
For the second screenshot skip step 1 and follow from step 2 onwards.
Expected behaviour
In both cases, the corresponding pane sizes should be the same.
Screenshots
Added above while describing the bug.
Version info:
lazygit version- commit=58d746718056ea7ca802aafdd244d6abeb7255f8, build date=2024-08-09T10:19:46Z, build source=unknown, version=58d74671, os=darwin, arch=arm64, git version=2.44.0
git version- git version 2.44.0
neovim version- v0.10.1
tmux version- tmux 3.3a
OS: MacOS 14.4
Additional context
- I have manually built the lazygit using the commit 58d7467.
- I get the same result even after disabling any config for tmux and neovim.
If you want to try and debug this issue yourself, you can run lazygit --debug in one terminal panel and lazygit --logs in another to view the logs.
--> This does not show any useful errors
Describe the bug

If I open lazygit from neovim which is inside tmux I get different pane sizes than when opening lazygit from terminal inside tmux without neovim or when opening lazygit from neovim without tmux or when opening lazygit from terminal without tmux.
Lazygit from neovim inside tmux-
Lazygit inside neovim and without tmux-

As you can see, the pane sizes on the left-hand side are different in both cases.
To Reproduce
Steps to reproduce the behaviour:
nvim --clean):term)For the second screenshot skip step 1 and follow from step 2 onwards.
Expected behaviour
In both cases, the corresponding pane sizes should be the same.
Screenshots
Added above while describing the bug.
Version info:
lazygit version-
commit=58d746718056ea7ca802aafdd244d6abeb7255f8, build date=2024-08-09T10:19:46Z, build source=unknown, version=58d74671, os=darwin, arch=arm64, git version=2.44.0git version-
git version 2.44.0neovim version-
v0.10.1tmux version-
tmux 3.3aOS:
MacOS 14.4Additional context
If you want to try and debug this issue yourself, you can run
lazygit --debugin one terminal panel andlazygit --logsin another to view the logs.--> This does not show any useful errors