fix(ui): ruler is not redrawn in cmdline with redrawstatus

This commit is contained in:
Luuk van Baal
2023-04-01 03:11:56 +02:00
parent 3a4db8154f
commit c8a28b847e
3 changed files with 24 additions and 1 deletions

View File

@@ -2683,6 +2683,11 @@ void status_redraw_buf(buf_T *buf)
redraw_later(wp, UPD_VALID);
}
}
// Redraw the ruler if it is in the command line and was not marked for redraw above
if (p_ru && !curwin->w_status_height && !curwin->w_redr_status) {
redraw_cmdline = true;
redraw_later(curwin, UPD_VALID);
}
}
/// Redraw all status lines that need to be redrawn.