cmdheight=0: fix bugs part2 (#19185)

This commit is contained in:
Shougo
2022-07-31 14:13:19 +09:00
committed by GitHub
parent 7f4c50f8c4
commit c1652bdcb5
10 changed files with 42 additions and 20 deletions

View File

@@ -612,6 +612,12 @@ bool ui_has(UIExtension ext)
return ui_ext[ext];
}
/// Returns true if the UI has messages area.
bool ui_has_messages(void)
{
return p_ch > 0 || ui_has(kUIMessages);
}
Array ui_array(void)
{
Array all_uis = ARRAY_DICT_INIT;