]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.2.0413: Scrolling wrong with 'splitkeep' when changing 'cmdheight' v9.2.0413
authorLuuk van Baal <luukvbaal@gmail.com>
Tue, 28 Apr 2026 21:09:45 +0000 (21:09 +0000)
committerChristian Brabandt <cb@256bit.org>
Tue, 28 Apr 2026 21:14:50 +0000 (21:14 +0000)
commitbd0f3e6da5df70ab2250264d0a7efc7db83c3dc8
tree9f266de8070b0e55cd2a1c9d6c96d9a71302016c
parent41c3379bdf944dcee7f64b8e95094c03e2dce968
patch 9.2.0413: Scrolling wrong with 'splitkeep' when changing 'cmdheight'

Problem:  Cursor is not adjusted when 'cmdheight' is changed to cover
          the cursor with 'splitkeep' ~= "cursor".
Solution: Handle window resize for 'splitkeep' after changing 'cmdheight'.
          Ensure previous window height is set when changing 'splitkeep'
          (Luuk van Baal).

closes: #20043

Signed-off-by: Luuk van Baal <luukvbaal@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/optionstr.c
src/testdir/test_window_cmd.vim
src/version.c
src/window.c