You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
The text was updated successfully, but these errors were encountered:
This is not a bug. Lazygit has a threshold for the height of the window; when it gets smaller than that threshold (which is around 28 lines, it seems) it starts to shrink all non-focused side panels to a height of 1 line, to make more room for the active panel.
It seems that the added line for the status bar (showing "testing" and "util" in the first screenshot) makes it cross that threshold.
Yes you are right. I decreased the font size and now everything is working as expected. Is there a way to configure this threshold somewhere? I don't prefer shrinking of non-focused side panels.
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.0
git version-
git version 2.44.0
neovim version-
v0.10.1
tmux version-
tmux 3.3a
OS:
MacOS 14.4
Additional context
If you want to try and debug this issue yourself, you can run
lazygit --debug
in one terminal panel andlazygit --logs
in another to view the logs.--> This does not show any useful errors
The text was updated successfully, but these errors were encountered: