aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_getln.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-12-10 14:53:02 +0800
committerGitHub <noreply@github.com>2024-12-10 14:53:02 +0800
commitd1fd674df3eb07049c780d6b7821e17d471fdc4c (patch)
tree61c4eea43636e9979310746e8896b27ed0c93770 /src/nvim/ex_getln.c
parent98694c36756f747e7929033343e8479f39094461 (diff)
downloadrneovim-d1fd674df3eb07049c780d6b7821e17d471fdc4c.tar.gz
rneovim-d1fd674df3eb07049c780d6b7821e17d471fdc4c.tar.bz2
rneovim-d1fd674df3eb07049c780d6b7821e17d471fdc4c.zip
fix(ui): update title in more cases (#31508)
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r--src/nvim/ex_getln.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c
index 2d9d4417dd..85fbdbd20a 100644
--- a/src/nvim/ex_getln.c
+++ b/src/nvim/ex_getln.c
@@ -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
}