diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-06-08 10:13:04 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-06-08 10:13:04 +0200 |
commit | f85cbea725b4d21412dc0ddfd07239307b3b63a4 (patch) | |
tree | cb88d8d6a010490160b9f7d0b1a236d61d29b323 /src/nvim/terminal.c | |
parent | c500f22f3ced8bbc271c4ec50d2217626ba5e97e (diff) | |
parent | 2ca62239675b0c1e68b01aae1a0d45567b15e319 (diff) | |
download | rneovim-f85cbea725b4d21412dc0ddfd07239307b3b63a4.tar.gz rneovim-f85cbea725b4d21412dc0ddfd07239307b3b63a4.tar.bz2 rneovim-f85cbea725b4d21412dc0ddfd07239307b3b63a4.zip |
Merge #7917 'API: buffer updates'
Diffstat (limited to 'src/nvim/terminal.c')
-rw-r--r-- | src/nvim/terminal.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nvim/terminal.c b/src/nvim/terminal.c index 7f1bff75b4..c2370de0f8 100644 --- a/src/nvim/terminal.c +++ b/src/nvim/terminal.c @@ -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; } |