mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user