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

@@ -619,6 +619,7 @@ bool terminal_enter(void)
invalidate_terminal(s->term, s->term->cursor.row, s->term->cursor.row + 1);
showmode();
curwin->w_redr_status = true; // For mode() in statusline. #8323
redraw_custom_title_later();
ui_busy_start();
apply_autocmds(EVENT_TERMENTER, NULL, NULL, false, curbuf);
may_trigger_modechanged();