mirror of
https://github.com/neovim/neovim.git
synced 2025-10-07 02:16:31 +00:00
cmdheight=0: fix bugs #18961
Continue of #16251 Fix #18953 Fix #18960 Fix #18958 Fix #18955 Fix #18970 Fix #18983 Fix #18995 Fix #19112
This commit is contained in:
@@ -6153,6 +6153,10 @@ void clearmode(void)
|
||||
|
||||
static void recording_mode(int attr)
|
||||
{
|
||||
if (p_ch <= 0 && !ui_has(kUIMessages)) {
|
||||
return;
|
||||
}
|
||||
|
||||
msg_puts_attr(_("recording"), attr);
|
||||
if (!shortmess(SHM_RECORDING)) {
|
||||
char s[4];
|
||||
@@ -6457,7 +6461,8 @@ int redrawing(void)
|
||||
*/
|
||||
int messaging(void)
|
||||
{
|
||||
return !(p_lz && char_avail() && !KeyTyped);
|
||||
return !(p_lz && char_avail() && !KeyTyped)
|
||||
&& (p_ch > 0 || ui_has(kUIMessages));
|
||||
}
|
||||
|
||||
/// Show current status info in ruler and various other places
|
||||
@@ -6515,7 +6520,7 @@ static void win_redr_ruler(win_T *wp, bool always)
|
||||
}
|
||||
}
|
||||
|
||||
if (*p_ruf) {
|
||||
if (*p_ruf && p_ch > 0 && !ui_has(kUIMessages)) {
|
||||
int save_called_emsg = called_emsg;
|
||||
called_emsg = false;
|
||||
win_redr_custom(wp, false, true);
|
||||
|
Reference in New Issue
Block a user