mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 06:28:35 +00:00
fix(ui): allow redrawing statusline when msgsep is used (#20337)
This commit is contained in:
@@ -774,11 +774,11 @@ static uint8_t *command_line_enter(int firstc, long count, int indent, bool init
|
||||
|
||||
// Redraw the statusline in case it uses the current mode using the mode()
|
||||
// function.
|
||||
if (!cmd_silent && msg_scrolled == 0) {
|
||||
if (!cmd_silent && (msg_scrolled == 0 || msg_use_msgsep())) {
|
||||
bool found_one = false;
|
||||
|
||||
FOR_ALL_WINDOWS_IN_TAB(wp, curtab) {
|
||||
if (*p_stl != NUL || *wp->w_p_stl != NUL) {
|
||||
if (*p_stl != NUL || *wp->w_p_stl != NUL || *p_wbr != NUL || *wp->w_p_wbr != NUL) {
|
||||
wp->w_redr_status = true;
|
||||
found_one = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user