aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/lua/executor.c
diff options
context:
space:
mode:
authorCompileAndConquer <69109614+LorenzoPiombini@users.noreply.github.com>2025-12-10 00:32:51 -0500
committerGitHub <noreply@github.com>2025-12-10 00:32:51 -0500
commitaeebc5185171d29767097d5b6240134bc19cee48 (patch)
treec207a8b99e0be4ba23727415567f870f9f7404fc /src/nvim/lua/executor.c
parentc40cb2a4cf324812d46479480f6065e2c28bcb80 (diff)
downloadrneovim-aeebc5185171d29767097d5b6240134bc19cee48.tar.gz
rneovim-aeebc5185171d29767097d5b6240134bc19cee48.tar.bz2
rneovim-aeebc5185171d29767097d5b6240134bc19cee48.zip
fix(grid): assert crash during extreme resize layouts #36847
Problem: When the terminal shrinks, Neovim tries to recompute the layout and adjust every window so that the total width matches the new Columns. But in the scenario of numerous windows split horizontally, there is not enough space for all of them. The frame width (topframe->fr_width) never reaches the new Columns value, the logic tries to redistribute this negative space across child frames, but it triggers the assert. Solution: Skip this case in `win_update`.
Diffstat (limited to 'src/nvim/lua/executor.c')
0 files changed, 0 insertions, 0 deletions