fix(ui): update title in more cases (#31508)

This commit is contained in:
zeertzjq
2024-12-10 14:53:02 +08:00
committed by GitHub
parent 98694c3675
commit d1fd674df3
5 changed files with 85 additions and 8 deletions

View File

@@ -847,6 +847,10 @@ static uint8_t *command_line_enter(int firstc, int count, int indent, bool clear
found_one = true;
}
if (redraw_custom_title_later()) {
found_one = true;
}
if (found_one) {
redraw_statuslines();
}
@@ -959,6 +963,7 @@ theend:
msg_ext_clear_later();
}
if (!cmd_silent) {
redraw_custom_title_later();
status_redraw_all(); // redraw to show mode change
}