]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0990: Inconsistent behavior when changing cmdheight v9.1.0990
authorLuuk van Baal <luukvbaal@gmail.com>
Sat, 4 Jan 2025 16:18:08 +0000 (17:18 +0100)
committerChristian Brabandt <cb@256bit.org>
Sat, 4 Jan 2025 16:18:08 +0000 (17:18 +0100)
commite15cbc1af47e9dea90448c714eb4908e5d4302fc
treec8cc27eba0875076128c22010f9a87a104a14486
parentdbe39edb29cf5f899d475ee783a059cb6f678286
patch 9.1.0990: Inconsistent behavior when changing cmdheight

Problem:  Inconsistent behavior when changing cmdheight by resizing the
          topframe through wincmds and dragging laststatus. Changing
  cmdheight by resizing the topframe does not trigger OptionSet.
Solution: Consolidate logic for changing the cmdheight, set the option
  value to handle side-effects (Luuk van Baal)

closes: #16359

Signed-off-by: Luuk van Baal <luukvbaal@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/testdir/dumps/Test_changing_cmdheight_1.dump
src/testdir/dumps/Test_changing_cmdheight_2.dump
src/testdir/test_autocmd.vim
src/testdir/test_cmdline.vim
src/version.c
src/window.c