Mercurial > vim
diff src/proto/term.pro @ 13150:808625d4b71b v8.0.1449
patch 8.0.1449: slow redrawing with DirectX
commit https://github.com/vim/vim/commit/a338adcf222b6a24e26ea5ae6a2ad27f914acb38
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 31 20:51:47 2018 +0100
patch 8.0.1449: slow redrawing with DirectX
Problem: Slow redrawing with DirectX.
Solution: Avoid calling gui_mch_flush() unnecessarily, especially when
updating the cursor. (Ken Takata, closes #2560)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 31 Jan 2018 21:00:08 +0100 |
parents | a715f0b44532 |
children | 65c3e8259124 |
line wrap: on
line diff
--- a/src/proto/term.pro +++ b/src/proto/term.pro @@ -12,6 +12,7 @@ int term_is_gui(char_u *name); char_u *tltoa(unsigned long i); void termcapinit(char_u *name); void out_flush(void); +void out_flush_cursor(int force, int clear_selection); void out_flush_check(void); void out_trash(void); void out_char(unsigned c);