mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
terminal.c: need maketitle() in terminal-mode
normal_redraw() usually takes care of this, but that doesn't happen
during terminal-mode.
regression by c484323dc6
steps to reproduce:
nvim -u NORC --cmd 'execute("set titlestring=" . $NVIM_LISTEN_ADDRESS) | set title | startinsert | !sleep 1' term://sh
closes #7248
This commit is contained in:
parent
618cfe03fc
commit
06f8ad5b2a
@ -5847,7 +5847,7 @@ static void screen_start_highlight(int attr)
|
|||||||
ui_start_highlight(attr);
|
ui_start_highlight(attr);
|
||||||
}
|
}
|
||||||
|
|
||||||
void screen_stop_highlight(void)
|
static void screen_stop_highlight(void)
|
||||||
{
|
{
|
||||||
ui_stop_highlight();
|
ui_stop_highlight();
|
||||||
screen_attr = 0;
|
screen_attr = 0;
|
||||||
|
@ -1259,6 +1259,10 @@ static void redraw(bool restore_cursor)
|
|||||||
update_screen(0);
|
update_screen(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (need_maketitle) { // Update title in terminal-mode. #7248
|
||||||
|
maketitle();
|
||||||
|
}
|
||||||
|
|
||||||
if (restore_cursor) {
|
if (restore_cursor) {
|
||||||
ui_cursor_goto(save_row, save_col);
|
ui_cursor_goto(save_row, save_col);
|
||||||
} else if (term) {
|
} else if (term) {
|
||||||
|
Loading…
Reference in New Issue
Block a user