mirror of
https://github.com/neovim/neovim.git
synced 2025-09-24 20:18:32 +00:00
Merge #7917 'API: buffer updates'
This commit is contained in:
@@ -1239,7 +1239,9 @@ static void refresh_screen(Terminal *term, buf_T *buf)
|
||||
|
||||
int change_start = row_to_linenr(term, term->invalid_start);
|
||||
int change_end = change_start + changed;
|
||||
changed_lines(change_start, 0, change_end, added);
|
||||
changed_lines(change_start, 0, change_end, added,
|
||||
// Don't send nvim_buf_lines_event for :terminal buffer.
|
||||
false);
|
||||
term->invalid_start = INT_MAX;
|
||||
term->invalid_end = -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user