Skip to content

Commit 1baf9d0

Browse files
committed
fix: cmdheight problems part3
1 parent 7f20d61 commit 1baf9d0

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src/nvim/message.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2373,7 +2373,7 @@ bool msg_use_msgsep(void)
23732373
{
23742374
// the full-screen scroll behavior doesn't really make sense with
23752375
// 'ext_multigrid'
2376-
return ((dy_flags & DY_MSGSEP) || ui_has(kUIMultigrid));
2376+
return (dy_flags & DY_MSGSEP) || ui_has(kUIMultigrid);
23772377
}
23782378

23792379
bool msg_do_throttle(void)

src/nvim/window.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6415,12 +6415,6 @@ void command_height(void)
64156415
// p_ch was changed in another tab page.
64166416
curtab->tp_ch_used = p_ch;
64176417

6418-
// If the space for the command line is already more than 'cmdheight' there
6419-
// is nothing to do (window size must have decreased).
6420-
if (p_ch > old_p_ch && cmdline_row <= Rows - p_ch) {
6421-
return;
6422-
}
6423-
64246418
// If cmdline_row is smaller than what it is supposed to be for 'cmdheight'
64256419
// then set old_p_ch to what it would be, so that the windows get resized
64266420
// properly for the new value.

0 commit comments

Comments
 (0)