mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.2560: setting 'winminheigt' does not take tabline into account
Problem: Setting 'winminheigt' does not take tabline into account. Solution: Subtract the tabline from the available height. (closes #7899)
This commit is contained in:
@@ -5860,7 +5860,7 @@ win_setminheight(void)
|
||||
// loop until there is a 'winminheight' that is possible
|
||||
while (p_wmh > 0)
|
||||
{
|
||||
room = Rows - p_ch;
|
||||
room = Rows - p_ch - tabline_height();
|
||||
needed = frame_minheight(topframe, NULL);
|
||||
if (room >= needed)
|
||||
break;
|
||||
|
Reference in New Issue
Block a user