0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 9.0.0187: command line height changes when maximizing window height

Problem:    Command line height changes when maximizing window height.
Solution:   Do not change the command line height. (closes #10885)
This commit is contained in:
Bram Moolenaar
2022-08-10 17:23:12 +01:00
parent 3331dd0351
commit 96bde99bf8
3 changed files with 22 additions and 2 deletions

View File

@@ -5666,8 +5666,6 @@ win_setheight_win(int height, win_T *win)
if (full_screen && msg_scrolled == 0 && row < cmdline_row)
screen_fill(row, cmdline_row, 0, (int)Columns, ' ', ' ', 0);
cmdline_row = row;
p_ch = MAX(Rows - cmdline_row, 0);
curtab->tp_ch_used = p_ch;
msg_row = row;
msg_col = 0;