diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-07-27 06:26:01 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-07-27 06:32:40 +0800 |
commit | fc55f8263c6c8d8851fa2b6290083a64da1ebd28 (patch) | |
tree | da96e28622a4caf0a304f1827439b01a88829778 /src/nvim/ex_getln.c | |
parent | 0c0a2e4e526109c6fcd44618e199b36927dff0ff (diff) | |
download | rneovim-fc55f8263c6c8d8851fa2b6290083a64da1ebd28.tar.gz rneovim-fc55f8263c6c8d8851fa2b6290083a64da1ebd28.tar.bz2 rneovim-fc55f8263c6c8d8851fa2b6290083a64da1ebd28.zip |
vim-patch:9.0.0086: tabline is not redrawn when entering command line
Problem: Tabline is not redrawn when entering command line.
Solution: Set "redraw_tabline". (closes vim/vim#10771)
https://github.com/vim/vim/commit/6791adca53981666f0cf23e264e102b795224044
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r-- | src/nvim/ex_getln.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c index 04334d4fa0..906e52f183 100644 --- a/src/nvim/ex_getln.c +++ b/src/nvim/ex_getln.c @@ -880,6 +880,12 @@ static uint8_t *command_line_enter(int firstc, long count, int indent, bool init found_one = true; } } + + if (*p_tal != NUL) { + redraw_tabline = true; + found_one = true; + } + if (found_one) { redraw_statuslines(); } |