mirror of
https://github.com/neovim/neovim.git
synced 2025-09-15 15:58:17 +00:00
API: Implement buffer updates
Originally written by @phodge in https://github.com/neovim/neovim/pull/5269.
This commit is contained in:
@@ -1234,7 +1234,8 @@ 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);
|
||||
// Note: don't send LiveUpdate event for a :terminal buffer
|
||||
changed_lines(change_start, 0, change_end, added, false);
|
||||
term->invalid_start = INT_MAX;
|
||||
term->invalid_end = -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user