1
0
forked from aniani/vim

patch 8.0.1002: unnecessarily updating screen after timer callback

Problem:    Unnecessarily updating screen after timer callback.
Solution:   Check if calling the timer sets must_redraw.
This commit is contained in:
Bram Moolenaar
2017-08-26 23:43:28 +02:00
parent 0903d56f5c
commit 02e177d3e8
6 changed files with 21 additions and 10 deletions

View File

@@ -669,7 +669,7 @@ write_to_term(buf_T *buffer, char_u *msg, channel_T *channel)
update_cursor(term, TRUE);
}
else
redraw_after_callback();
redraw_after_callback(TRUE);
}
}